getFloat

expect 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 fun getFloat(key: String): Float(source)
actual fun getFloat(key: String): Float(source)