Click or drag to resize

ResultGetDouble Method (String)

Gets the value of a given key as a Double

Namespace:  Couchbase.Lite.Query
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0713
Syntax
C#
public double GetDouble(
	string key
)

Parameters

key
Type: SystemString
The key to check the value for

Return Value

Type: Double
The contained value, or its converted equivalent

Implements

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