SqlDecimal.Parse(String) Method

Definition

Converts the String representation of a number to its SqlDecimal equivalent.

public:
 static System::Data::SqlTypes::SqlDecimal Parse(System::String ^ s);
public static System.Data.SqlTypes.SqlDecimal Parse (string s);
static member Parse : string -> System.Data.SqlTypes.SqlDecimal
Public Shared Function Parse (s As String) As SqlDecimal

Parameters

s
String

The String to be parsed.

Returns

A SqlDecimal equivalent to the value that is contained in the specified String.

Applies to

See also