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

getDouble

inline fun Cursor.getDouble(columnName: String): Double

Returns the value of the requested column as a double.

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.getDouble