diff --git a/src/main/java/org/apache/commons/lang3/math/NumberUtils.java b/src/main/java/org/apache/commons/lang3/math/NumberUtils.java index 305cb3e28..dd60580a7 100644 --- a/src/main/java/org/apache/commons/lang3/math/NumberUtils.java +++ b/src/main/java/org/apache/commons/lang3/math/NumberUtils.java @@ -1329,7 +1329,8 @@ public class NumberUtils { * *
Non-hexadecimal strings beginning with a leading zero are
* treated as octal values. Thus the string 09
will return
- * false
, since 9
is not a valid octal value.
false
, since 9
is not a valid octal value.
+ * However, numbers beginning with {@code 0.} are treated as decimal.
*
* Null
and empty String will return
* false
.