Click or drag to resize

DictionaryObjectGetFloat Method

Gets the value of a given key as a Single

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

Parameters

key
Type: SystemString
The key to check the value for

Return Value

Type: Single
The contained value, or its converted equivalent

Implements

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