GetDouble Method

Identifies the value of the specified column as a double-precision floating point number.

Syntax

double GetDouble( int ordinal )

Parameters

ordinal – an ordinal number indicating the column from which the value is obtained. The numbering is zero-based.

Return Value

The value of the specified column.

Implements

IDataRecord.GetDouble

Usage

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

  • No conversions are performed, so the data retrieved must already be a double-precision floating point number.

  • Use GetDouble for Adaptive Server type float with a precision greater than or equal to 16 and GetFloat for Adaptive Server types real and float with a precision less than 16.

Related reference
IsDBNull Method