sqlite3 :: StatementEntry :: to_f
Float
If the Sqlite type of this entry is not a floating point, it will be CAST
to float. If null
, returns 0.0.
require: self.statement.is_open
# Get this entry as `Float`
#
# If the Sqlite type of this entry is not a floating point, it will be `CAST`
# to float. If `null`, returns 0.0.
#
# require: `self.statement.is_open`
fun to_f: Float
do
assert statement_closed: statement.is_open
return statement.native_statement.column_double(index)
end
lib/sqlite3/sqlite3.nit:230,2--241,4