You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2014/05/07 03:20:43 UTC

svn commit: r1592931 - /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/math/NumberUtils.java

Author: sebb
Date: Wed May  7 01:20:42 2014
New Revision: 1592931

URL: http://svn.apache.org/r1592931
Log:
Clarify that 0.d is decimal, not octal

Modified:
    commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/math/NumberUtils.java

Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/math/NumberUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/math/NumberUtils.java?rev=1592931&r1=1592930&r2=1592931&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/math/NumberUtils.java (original)
+++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/math/NumberUtils.java Wed May  7 01:20:42 2014
@@ -1329,7 +1329,8 @@ public class NumberUtils {
      * 
      * <p>Non-hexadecimal strings beginning with a leading zero are
      * treated as octal values. Thus the string <code>09</code> will return
-     * <code>false</code>, since <code>9</code> is not a valid octal value.</p>
+     * <code>false</code>, since <code>9</code> is not a valid octal value.
+     * However, numbers beginning with {@code 0.} are treated as decimal.</p>
      *
      * <p><code>Null</code> and empty String will return
      * <code>false</code>.</p>