Click or drag to resize

IDictionaryObjectGetFloat 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-b0520
Syntax
C#
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
Remarks
true will be converted to 1.0f, and everything else that is non-numeric will be 0.0f
See Also