System::Globalization::CharUnicodeInfo::GetDigitValue méthode
Contenu
[
Cacher
]CharUnicodeInfo::GetDigitValue(char16_t) method
Obtient la valeur du chiffre du caractère spécifié.
static int System::Globalization::CharUnicodeInfo::GetDigitValue(char16_t ch)
| Paramètre | Type | Description |
|---|---|---|
| ch | char16_t | Caractère Unicode. |
ReturnValue
La valeur du chiffre ou -1 si le caractère spécifié n’est pas un chiffre.
Voir aussi
- Class CharUnicodeInfo
- Namespace System::Globalization
- Library Aspose.Font for C++
CharUnicodeInfo::GetDigitValue(const String&, int) method
Obtient la valeur du chiffre du caractère à l’index spécifié de la chaîne.
static int System::Globalization::CharUnicodeInfo::GetDigitValue(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 du chiffre ou -1 si le caractère spécifié n’est pas un chiffre.
Voir aussi
- Class String
- Class CharUnicodeInfo
- Namespace System::Globalization
- Library Aspose.Font for C++