Windows apps
Collapse the table of content
Expand the table of content

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)

public static double Parse(
	string s
)

Parameters

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

Return Value

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

Show:
© 2017 Microsoft