## CharUnicodeInfo::GetNumericValue(char16_t) method


Obtient la valeur numérique associée au caractère spécifié.

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


| Paramètre | Type | Description |
| --- | --- | --- |
| ch | char16_t | Caractère Unicode. |

### ReturnValue

La valeur numérique ou -1 si le caractère spécifié n'est pas un caractère numérique.

## Voir aussi

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


Obtient la valeur numérique associée au caractère à l'index spécifié de la chaîne.

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


| Paramètre | Type | Description |
| --- | --- | --- |
| str | const String\& | La chaîne contenant le caractère Unicode. |
| indice | int | L'index du caractère Unicode. |

### ReturnValue

La valeur numérique ou -1 si le caractère spécifié n'est pas un caractère numérique.

## Voir aussi

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