MySqlDataReader.GetDouble Method (Int32)

MySQL Connector/Net

MySqlDataReaderGetDouble Method (Int32)
Gets the value of the specified column as a double-precision floating point number.

Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.9.9
Syntax
public override double GetDouble(
	int i
)
Public Overrides Function GetDouble ( 
	i As Integer
) As Double
public:
virtual double GetDouble(
	int i
) override
abstract GetDouble : 
        i : int -> float 
override GetDouble : 
        i : int -> float 

Parameters

i
Type: SystemInt32
The zero-based column ordinal.

Return Value

Type: Double
The value of the specified column.

Implements

IDataRecordGetDouble(Int32)
IDataRecordGetDouble(Int32)
Remarks

No conversions are performed; therefore, the data retrieved must already be a Double object.

Call IsDBNull to check for null values before calling this method.

See Also