core-ktx / androidx.database / android.database.Cursor / getFloat

getFloat

inline fun Cursor.getFloat(columnName: String): Float

Returns the value of the requested column as a float.

The result and whether this method throws an exception when the column value is null or the column type is not a floating-point type is implementation-defined.

See Also

Cursor.getColumnIndexOrThrow

Cursor.getFloat