System::Globalization::CharUnicodeInfo::GetNumericValue method

CharUnicodeInfo::GetNumericValue(char16_t) method

Gets numeric value associated with the specified character.

static double System::Globalization::CharUnicodeInfo::GetNumericValue(char16_t ch)
ParameterTypeDescription
chchar16_tUnicode character.

ReturnValue

The numeric value or -1 if the specified character is not a numeric character.

See Also

CharUnicodeInfo::GetNumericValue(const String&, int) method

Gets numeric value associated with the character at the specified index of the string.

static double System::Globalization::CharUnicodeInfo::GetNumericValue(const String &str, int index)
ParameterTypeDescription
strconst String&The string containing unicode character.
indexintThe index of the unicode character.

ReturnValue

The numeric value or -1 if the specified character is not a numeric character.

See Also