Converts a string to a Decimal.
[Visual Basic] Public Shared Function FromString( _ ByVal s As String _ ) As Decimal [C#] public static Decimal FromString( string s ); [C++] public: static Decimal FromString( String* s ); [JScript] public static function FromString( s : String ) : Decimal;
The Decimal value of the string.
Converts a string to a Decimal. The string must consist of an optional minus sign ("-") followed by a sequence of digits ("0"- "9"). The sequence of digits may optionally contain a single decimal point (".") character. (For related information, see Parse.)
Leading and trailing white space characters are allowed.