System::Globalization::CharUnicodeInfo::GetDecimalDigitValue method

CharUnicodeInfo::GetDecimalDigitValue(char16_t) method

Gets decimal digit value of the specified character.

static int System::Globalization::CharUnicodeInfo::GetDecimalDigitValue(char16_t ch)
ParameterTypeDescription
chchar16_tUnicode character.

ReturnValue

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

See Also

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

Gets decimal digit value of the character at the specified index of the string.

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

ReturnValue

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

See Also