## CharUnicodeInfo::GetNumericValue(char16_t) method


يحصل على القيمة العددية المرتبطة بالحرف المحدد.

```cpp
static double System::Globalization::CharUnicodeInfo::GetNumericValue(char16_t ch)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| ch | char16_t | حرف يونيكود. |

### ReturnValue

القيمة الرقمية أو -1 إذا لم يكن الحرف المحدد حرفًا رقميًا.

## انظر أيضًا

* Class [CharUnicodeInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.Page for C++](../../../)
## CharUnicodeInfo::GetNumericValue(const String\&, int) method


يحصل على القيمة العددية المرتبطة بالحرف في الفهرس المحدد في السلسلة.

```cpp
static double System::Globalization::CharUnicodeInfo::GetNumericValue(const String &str, int index)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| str | const String\& | السلسلة التي تحتوي على حرف يونيكود. |
| الفهرس | int | فهرس الحرف يونيكود. |

### ReturnValue

القيمة الرقمية أو -1 إذا لم يكن الحرف المحدد حرفًا رقميًا.

## انظر أيضًا

* Class [String](../../../system/string/)
* Class [CharUnicodeInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.Page for C++](../../../)
