GetFloat
This method returns the float value of the specified NUMBER column or BINARY_FLOAT column.
Declaration
// C#
public override float GetFloat(int index);Parameters
-
indexThe zero-based column index.
Return Value
The float value of the column.
Implements
IDataRecord
Exceptions
InvalidOperationException - The connection is closed, the reader is closed, Read() has not been called, or all rows have been read.
IndexOutOfRangeException - The column index is invalid.
InvalidCastException - The accessor method is invalid for this column type or the column value is NULL.
Remarks
IsDBNull should be called to check for NULL values before calling this method.
GetFloat now supports retrieval of data from BINARY_FLOAT columns.