Converts a string to a double .
- value
- The string to be converted. The string is in the System.Globalization.NumberStyles.Float | System.Globalization.NumberStyles.AllowThousands style.
value as a double.
Type Reason ArgumentNullException value is a null reference. FormatException value cannot be converted to a numeric value. OverflowException The numeric value of value is greater than double.MaxValue or less than double.MinValue.
This method parses value using the information in a System.Globalization.NumberFormatInfo instance initialized for the current system culture.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0