System::Globalization::CharUnicodeInfo::GetDigitValue method
Contents
[
Hide
]CharUnicodeInfo::GetDigitValue(char16_t) method
Gets digit value of the specified character.
static int System::Globalization::CharUnicodeInfo::GetDigitValue(char16_t ch)
Parameter | Type | Description |
---|---|---|
ch | char16_t | Unicode character. |
ReturnValue
The digit value or -1 if the specified character is not a digit.
See Also
- Class CharUnicodeInfo
- Namespace System::Globalization
- Library Aspose.PUB for C++
CharUnicodeInfo::GetDigitValue(const String&, int) method
Gets digit value of the character at the specified index of the string.
static int System::Globalization::CharUnicodeInfo::GetDigitValue(const String &str, int index)
Parameter | Type | Description |
---|---|---|
str | const String& | The string containing unicode character. |
index | int | The index of the unicode character. |
ReturnValue
The digit value or -1 if the specified character is not a digit.
See Also
- Class String
- Class CharUnicodeInfo
- Namespace System::Globalization
- Library Aspose.PUB for C++