SQL_FetchFloat
Fetches a float from a field in the current row of a result set.
If the result is NULL, a value of 0.0 will be returned. A NULL
check can be done with the result parameter, or SQL_IsFieldNull().
native float SQL_FetchFloat(Handle query, int field, DBResult& result = DBVal_Error)Parameters
A query (or statement) Handle.
int field
The field index (starting from 0).
DBResult& result
Optional variable to store the status of the return value.
Return Value
float A float value.Error
Invalid query Handle or field index, invalid
type conversion requested from the database,
or no current result set.