UCharacter.GetNumericValue(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the numeric value of the code point as a nonnegative integer.
[Android.Runtime.Register("getNumericValue", "(I)I", "", ApiSince=24)]
public static int GetNumericValue (int ch);
[<Android.Runtime.Register("getNumericValue", "(I)I", "", ApiSince=24)>]
static member GetNumericValue : int -> int
Parameters
- ch
- Int32
the code point to query
Returns
the numeric value of the code point, or -1 if it has no numeric value, or -2 if it has a numeric value that cannot be represented as a nonnegative integer
- Attributes
Remarks
Returns the numeric value of the code point as a nonnegative integer. <br>If the code point does not have a numeric value, then -1 is returned. <br> If the code point has a numeric value that cannot be represented as a nonnegative integer (for example, a fractional value), then -2 is returned.
Java documentation for android.icu.lang.UCharacter.getNumericValue(int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.