## CharUnicodeInfo::GetDecimalDigitValue(char16_t) method


Gets decimal digit value of the specified character.

```cpp
static int System::Globalization::CharUnicodeInfo::GetDecimalDigitValue(char16_t ch)
```


| Parameter | Type | Description |
| --- | --- | --- |
| ch | char16_t | Unicode character. |

### ReturnValue

The decimal digit value or -1 if the specified character is not a decimal digit.

## See Also

* Class [CharUnicodeInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.PDF for C++](../../../)
## CharUnicodeInfo::GetDecimalDigitValue(const String\&, int) method


Gets decimal digit value of the character at the specified index of the string.

```cpp
static int System::Globalization::CharUnicodeInfo::GetDecimalDigitValue(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 decimal digit value or -1 if the specified character is not a decimal digit.

## See Also

* Class [String](../../../system/string/)
* Class [CharUnicodeInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.PDF for C++](../../../)
