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