GetDecimalDigitValue()
Contents
[
Hide
]CharUnicodeInfo::GetDecimalDigitValue(char16_t) method
Gets decimal digit value of the specified character.
static int System::Globalization::CharUnicodeInfo::GetDecimalDigitValue(char16_t ch)
Arguments
Parameter | Type | Description |
---|---|---|
ch | char16_t | Unicode character. |
Return Value
The decimal digit value or -1 if the specified character is not a decimal digit.
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)
Arguments
Parameter | Type | Description |
---|---|---|
str | const String& | The string containing unicode character. |
index | int | The index of the unicode character. |
Return Value
The decimal digit value or -1 if the specified character is not a decimal digit.
See Also
- Class CharUnicodeInfo
- Class String
- Namespace System::Globalization
- Library Aspose.Slides