Gets the value of the specified column as a single-precision floating point number.
Namespace:
Cassandra.Data
Assembly:
Cassandra (in Cassandra.dll) Version: 3.11.0
Syntax public override float GetFloat(
int ordinal
)
Parameters
- ordinal
- Type: SystemInt32
The zero-based column ordinal.
Return Value
Type:
SingleThe value of the specified column.
Implements
IDataRecordGetFloat(Int32)Exceptions Exception | Condition |
---|
InvalidCastException | The specified cast is not valid. |
IndexOutOfRangeException | The index passed was outside the range of 0 through FieldCount. |
See Also