Click or drag to resize

ReadOnlyFragmentToDouble Method

Gets the contained value as a Double

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0125
Syntax
C#
public double ToDouble()

Return Value

Type: Double
The cast contained value
Remarks
true will be converted to 1.0, and everything else that is non-numeric will be 0.0
See Also