API reference › @evolu/sqlite-wasm › c-api › sqlite3_column_double

function sqlite3_column_double(
  deps: SqliteWasmDep,
): (pStmt: SqliteStmtPtr, iCol: number) => number;

Defined in: packages/sqlite-wasm/src/CApi.ts:2283

Returns a result column of the current row as a double, converting other types, such as NULL to 0.0.

Wasm type d(ii). Signature ["sqlite3_column_double", "f64", "sqlite3_stmt*", "int"] from SQLite's table.

See https://sqlite.org/c3ref/column_blob.html.