ICU-9016 document default Numeric_Value differs from Unicode Standard

X-SVN-Rev: 31128
This commit is contained in:
Markus Scherer 2011-12-15 23:28:55 +00:00
parent 744eb1c815
commit b81e90d33d

View File

@ -3302,7 +3302,8 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* <p>A "double" return type is necessary because some numeric values are
* fractions, negative, or too large for int.</p>
* <p>For characters without any numeric values in the Unicode Character
* Database, this function will return NO_NUMERIC_VALUE.</p>
* Database, this function will return NO_NUMERIC_VALUE.
* Note: This is different from the Unicode Standard which specifies NaN as the default value.</p>
* <p><em>API Change:</em> In release 2.2 and prior, this API has a
* return type int and returns -1 when the argument ch does not have a
* corresponding numeric value. This has been changed to synch with ICU4C