Method ToDouble
ToDouble()
Converts the value represented by this instance to a double
precision floating point number.
Declaration
public override double ToDouble()
Returns
| Type | Description |
|---|---|
| Double | A double precision floating point number equivalent to the number represented by the string represented by this instance. |
Overrides
Remarks
This method performs the same conversion as
ToDouble(String).
Exceptions
| Type | Condition |
|---|---|
| FormatException | The string represented by this instance does not represent a number. |
| OverflowException | If the string represented by this instance represents value less than MinValue or greater than MaxValue |