Db get field assoc float


Function db_get_field_assoc_float get the contents of field as a float with specified name.
Using an invalid handle will crash your server! Get a valid handle by using db_query. But it's protected against NULL references.
This function name starts with a lowercase letter.

(DBResult:dbresult, field[])
int dbresult The result to get the data from.
string field The fieldname to get the data from.

Return Values:
Retrieved value as floating point number.


Related Functions
The following functions may be useful, as they are related to this function in one way or another.