Share via


Parse Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Converts the string representation of a number to its double-precision floating-point number equivalent.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public Shared Function Parse ( _
    s As String _
) As Double
public static double Parse(
    string s
)
public:
static double Parse(
    String^ s
)
static member Parse : 
        s:string -> float 
public static function Parse(
    s : String
) : double

Parameters

Return Value

Type: System. . :: . .Double
A double-precision floating-point number that is equivalent to the numeric value or symbol specified in s.

.NET Framework Security

See Also

Reference

Double Structure

System Namespace