Identifies the value of the specified column as a single-precision floating point number.
float GetFloat( int ordinal )
ordinal: An ordinal number indicating the column from which the value is obtained. The numbering is zero-based.
The value of the specified column.
IDataRecord.GetFloat
No conversions are performed, so the data retrieved must already be a single-precision floating point number.
Call AseDataReader.IsDBNull to check for null values before calling this method.
Use GetFloat for Adaptive Server types real and float with a precision less than 16 and GetDouble for Adaptive Server type float with a precision greater than or equal to 16.