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

CharUnicodeInfo::GetDigitValue(char16_t) method

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

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

ReturnValue

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

参照

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

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

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

ReturnValue

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

参照