## CharUnicodeInfo::GetDigitValue(char16_t) method


Obtiene el valor del dígito del carácter especificado.

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| ch | char16_t | Carácter Unicode. |

### ReturnValue

El valor del dígito o -1 si el carácter especificado no es un dígito.

## Ver también

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


Obtiene el valor del dígito del carácter en el índice especificado de la cadena.

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| str | const String\& | La cadena que contiene el carácter Unicode. |
| índice | int | El índice del carácter Unicode. |

### ReturnValue

El valor del dígito o -1 si el carácter especificado no es un dígito.

## Ver también

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