Interested in improving this site? Please check the To Do page.

Back to SQLite Verbs

sqlite.getColumnDouble

Retrieve the column value for a double field

Syntax

sqlite.getColumnDouble(queryID, columnNumber)

Params

queryID is the query ID returned by sqlite.compileQuery. columnNumber is the number of the column.

Returns

The double value in that column (for the current row only)

Examples

percentage = sqlite.getColumnDouble(compiledQuery, i);

Notes

Remember that the first column is 1 in the Frontier routine sqlite.getColumnDouble but is a 0 in the original SQLite sqlite3_column_double function.

See Also


Personal Tools