Bridge

Double..::..Parse Method (String)

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

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

Syntax


[TemplateAttribute]
public static double Parse(
	string s
)
<TemplateAttribute> _
Public Shared Function Parse ( _
	s As String _
) As Double
[TemplateAttribute]
public:
static double^ Parse(
	String^ s
)

Parameters

s
Type: System..::..String
A string that contains a number to convert.

Return Value

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

Exceptions


ExceptionCondition
System..::..ArgumentNullExceptions is null.
System..::..FormatExceptions does not represent a number in a valid format.
System..::..OverflowExceptions represents a number that is less than MinValue or greater than MaxValue.