@JvmOverloads fun getFloat(key: String, def: Float = 0f): Float
get Float value from SharedPreference
key - key of preference
key
def - optional, if key is not presented or some unexpected problem happened, it will be return
def
Return Float object