Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.2.1
-
None
Description
When trying to convert "0085" with NumberUtils.createInteger(String) an NumberFormatException is thrown.
This is because the leading 0 causes the String to be evaluated as an Octal, 8 is not a valid octal.
However NumberUtils#isNumber(String) evaluates to true, even so it cannot be converted.