getFloat

actual open override fun getFloat(index: Int): Float(source)
actual open override fun getFloat(key: String): Float(source)
expect open override fun getFloat(index: Int): Float(source)

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

Return

a float value.

Parameters

index

the index of the required value.


expect open override fun getFloat(key: String): Float(source)

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

Return

The float value.

Parameters

key

The select result key.

actual open override fun getFloat(index: Int): Float(source)

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

Return

the float value.

Parameters

index

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


actual open override fun getFloat(key: String): Float(source)

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

Return

the float value.

Parameters

key

the key

actual open override fun getFloat(index: Int): Float(source)
actual open override fun getFloat(key: String): Float(source)