fun readFloat(key: String, defaultFloatValue: Float = 0f): Float
Reads an Float from SharedPreferences. If no value is found the method returns 0f by default
key
- the key provided to find the stored value
Return
the value saved to SharedPreferences of type Float