Clarify that 0.d is decimal, not octal

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1592931 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2014-05-07 01:20:42 +00:00
parent 21cbe9553f
commit d16c62aed2
1 changed files with 2 additions and 1 deletions

View File

@ -1329,7 +1329,8 @@ public static boolean isDigits(final String str) {
*
* <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>