XmlConvert.ToDecimal(String) 메서드

정의

String을 해당하는 Decimal 값으로 변환합니다.

public:
 static System::Decimal ToDecimal(System::String ^ s);
public static decimal ToDecimal (string s);
static member ToDecimal : string -> decimal
Public Shared Function ToDecimal (s As String) As Decimal

매개 변수

s
String

변환할 문자열입니다.

반환

문자열에 해당하는 Decimal 값입니다.

예외

s이(가) null인 경우

s가 올바른 형식이 아닙니다.

sDecimal.MinValue 보다 작거나 Decimal.MaxValue보다 큰 숫자를 나타냅니다.

적용 대상