Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.4
-
None
Description
In considering the issues LANG-1060, LANG-1040, LANG-1038, and LANG-992, it seems that there are times when NumberUtils.isNumber resolves to false while NumberUtils.createNumber, given the same input, does not throw an exception, returning a valid java.lang.Number. This inconsistency should be resolved either by making isNumber more lenient or createNumber more stringent.
Attachments
Issue Links
- is related to
-
LANG-992 NumberUtils#isNumber() returns false for "0.0", "0.4790", et al
- Closed
-
LANG-1038 NumberUtils#isNumber() returns false for "+2" and true for "-2"
- Closed
-
LANG-1040 Javadoc for NumberUtils.isNumber() are not clear enough
- Closed
- relates to
-
LANG-992 NumberUtils#isNumber() returns false for "0.0", "0.4790", et al
- Closed
-
LANG-1038 NumberUtils#isNumber() returns false for "+2" and true for "-2"
- Closed
-
LANG-1040 Javadoc for NumberUtils.isNumber() are not clear enough
- Closed
-
LANG-1060 NumberUtils.isNumber assumes number starting with Zero is octal
- Closed
- links to