Click or drag to resize

IDictionaryObjectGetDouble Method

Gets the value of a given key as a Double

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0713
Syntax
C#
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
Remarks
true will be converted to 1.0, and everything else that is non-numeric will be 0.0
See Also