System::Globalization::CharUnicodeInfo::GetDigitValue 메서드

CharUnicodeInfo::GetDigitValue(char16_t) method

지정된 문자의 숫자 값을 가져옵니다.

static int System::Globalization::CharUnicodeInfo::GetDigitValue(char16_t ch)
매개변수형식설명
chchar16_t유니코드 문자.

ReturnValue

지정된 문자가 숫자가 아닌 경우 숫자 값 또는 -1을 반환합니다.

또 보기

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

지정된 문자열 인덱스에 있는 문자에 대한 숫자 값을 가져옵니다.

static int System::Globalization::CharUnicodeInfo::GetDigitValue(const String &str, int index)
매개변수형식설명
strconst String&유니코드 문자를 포함하는 문자열.
indexint유니코드 문자의 인덱스.

ReturnValue

지정된 문자가 숫자가 아닌 경우 숫자 값 또는 -1을 반환합니다.

또 보기