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