Gets the value of the specified column as a double-precision floating point number.
[Visual Basic] Public Function GetDouble( _ ByVal i As Integer _ ) _ Implements IDataRecord.GetDouble As Double [C#] public double GetDouble( int i ); [C++] public: double GetDouble( int i ); [JScript] public function GetDouble( int i ): double;
The value of the column as a Double.
Supported SQL data types for the conversion are: any numeric or character type that can be converted to double.
Use the IsDBNull method to check for database null value before calling this method.| Exception Type | Condition |
|---|---|
| InvalidCastException | The underlying SQL data type cannot be converted to Double. |
| InvalidOperationException | The MimerDataReader is not positioned on a row. |
| IndexOutOfRangeException | The column ordinal is outside the valid range. |
MimerDataReader Class | Mimer.Data.Client Namespace