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 문자열에 해당하는 값입니다.

예외

snull입니다.

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

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

적용 대상