getFloat

fun getFloat(key: String, defValue: Float): Float

Get a float from the preferences

Return

Value if found, else the defValue

Parameters

key

Key of the value

defValue

Default value