Click or drag to resize
DoubleParse Method (String)
Converts the string representation of a number to its double-precision floating-point number equivalent.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static double Parse(
	string s
)

Parameters

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

Return Value

Type: Double
A double-precision floating-point number that is equivalent to the numeric value or symbol specified in s.
Exceptions
ExceptionCondition
ArgumentNullExceptions is null.
FormatExceptions does not represent a number in a valid format.
OverflowExceptions represents a number that is less than MinValue or greater than MaxValue.
See Also