Share via


SQLiteRawStatement.GetColumnDouble(Int32) Method

Definition

Return the column value as a double.

[Android.Runtime.Register("getColumnDouble", "(I)D", "", ApiSince=35)]
public double GetColumnDouble (int columnIndex);
[<Android.Runtime.Register("getColumnDouble", "(I)D", "", ApiSince=35)>]
member this.GetColumnDouble : int -> double

Parameters

columnIndex
Int32

The index of a column in the result row. It is zero-based.

Returns

The value of a column as a double.

Attributes

Remarks

Return the column value as a double. Column indices start at 0. This throws an exception if column is not in the result.

The column value will be converted if it is not of type #SQLITE_DATA_TYPE_FLOAT; see the sqlite documentation for details.

Java documentation for android.database.sqlite.SQLiteRawStatement.getColumnDouble(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to