getDouble

actual open override fun getDouble(index: Int): Double(source)
actual open override fun getDouble(key: String): Double(source)
expect open override fun getDouble(index: Int): Double(source)

The result at the given index interpreted as a double. Returns 0.0 if the value cannot be so interpreted.

Return

a double value.

Parameters

index

the index of the required value.


expect open override fun getDouble(key: String): Double(source)

The result value for the given key as a double Returns 0.0 if the key doesn't exist or if the value is not a double

Return

The double value.

Parameters

key

The select result key.

actual open override fun getDouble(index: Int): Double(source)

Gets value at the given index as a double. Integers will be converted to double. The value true is returned as 1.0, false as 0.0. Returns 0.0 if the property doesn't exist or does not have a numeric value.

Return

the double value.

Parameters

index

the index. This value must not exceed the bounds of the array.


actual open override fun getDouble(key: String): Double(source)

Gets a property's value as a double. Integers will be converted to double. The value true is returned as 1.0, false as 0.0. Returns 0.0 if the property doesn't exist or does not have a numeric value.

Return

the double value.

Parameters

key

the key

actual open override fun getDouble(index: Int): Double(source)
actual open override fun getDouble(key: String): Double(source)