System::Globalization::CharUnicodeInfo::GetDigitValue メソッド
CharUnicodeInfo::GetDigitValue(char16_t) method
指定された文字の桁値を取得します。
static int System::Globalization::CharUnicodeInfo::GetDigitValue(char16_t ch)
| パラメーター | 型 | 説明 |
|---|---|---|
| ch | char16_t | Unicode 文字。 |
ReturnValue
指定された文字が数字でない場合は、数字値または -1 が返されます。
参照
- Class CharUnicodeInfo
- Namespace System::Globalization
- Library Aspose.Page for C++
CharUnicodeInfo::GetDigitValue(const String&, int) method
文字列の指定されたインデックスにある文字の桁の値を取得します。
static int System::Globalization::CharUnicodeInfo::GetDigitValue(const String &str, int index)
| パラメーター | 型 | 説明 |
|---|---|---|
| str | const String& | Unicode 文字を含む文字列。 |
| インデックス | int | Unicode 文字のインデックス。 |
ReturnValue
指定された文字が数字でない場合は、数字値または -1 が返されます。
参照
- Class String
- Class CharUnicodeInfo
- Namespace System::Globalization
- Library Aspose.Page for C++