## CharUnicodeInfo::GetDigitValue(char16_t) method


Restituisce il valore numerico del carattere specificato.

```cpp
static int System::Globalization::CharUnicodeInfo::GetDigitValue(char16_t ch)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| ch | char16_t | Carattere Unicode. |

### ReturnValue

Il valore della cifra o -1 se il carattere specificato non è una cifra.

## Vedi anche

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


Restituisce il valore della cifra del carattere all'indice specificato della stringa.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| str | const String\& | La stringa contenente il carattere Unicode. |
| indice | int | L'indice del carattere Unicode. |

### ReturnValue

Il valore della cifra o -1 se il carattere specificato non è una cifra.

## Vedi anche

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