System::Globalization::CharUnicodeInfo::GetDecimalDigitValue メソッド

CharUnicodeInfo::GetDecimalDigitValue(char16_t) method

指定された文字の10進数の桁値を取得します。

static int System::Globalization::CharUnicodeInfo::GetDecimalDigitValue(char16_t ch)
パラメーター説明
chchar16_tUnicode 文字。

ReturnValue

指定された文字が十進数字でない場合は、十進数字値または -1 が返されます。

参照

CharUnicodeInfo::GetDecimalDigitValue(const String&, int) method

文字列の指定されたインデックスにある文字の10進数の桁値を取得します。

static int System::Globalization::CharUnicodeInfo::GetDecimalDigitValue(const String &str, int index)
パラメーター説明
strconst String&Unicode 文字を含む文字列。
インデックスintUnicode 文字のインデックス。

ReturnValue

指定された文字が十進数字でない場合は、十進数字値または -1 が返されます。

参照