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