Convert::ToDouble Method (String^)
Converts the specified string representation of a number to an equivalent double-precision floating-point number.
Assembly: mscorlib (in mscorlib.dll)
Using the Double::Parse(String^) method. value is interpreted by using the formatting conventions of the current thread culture.method is equivalent to passing value to the
If you prefer not to handle an exception if the conversion fails, you can call the Double::TryParse method instead. It returns a Boolean value that indicates whether the conversion succeeded or failed.
Available since 8
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 8.1