Converts the current value to a double-precision floating point number based on the underlying type.
[Visual Basic] Overridable Public Function ToDouble() As Double [C#] public virtual double ToDouble(); [C++] public: virtual double ToDouble(); [JScript] public function ToDouble() : double;
Exception Type | Condition |
---|---|
InvalidCastException | Always. |
Currently not implemented. Always throws an exception.