Click or drag to resize

ResultGetFloat Method (Int32)

Gets the value at the given index as a Single

Namespace:  Couchbase.Lite.Query
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0713
Syntax
C#
public float GetFloat(
	int index
)

Parameters

index
Type: SystemInt32
The index to lookup

Return Value

Type: Single
The value at the index, or its converted equivalent

Implements

IArrayGetFloat(Int32)
Remarks
true will be converted to 1.0f, and everything else that is non-numeric will be 0.0f
See Also