Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.1
-
None
Description
The javadoc for NumberUtils.createNumber() states:
"Values with leading 0's will not be interpreted as octal."
However,
assertEquals(25, NumberUtils.createNumber("0025"));
fails, because NumberUtils.createNumber("0025") returns 21.