getFloat

Creates a Float preference for the key with a default of 0F


fun getFloat(key: String?, defaultValue: Float): Preference<Float>(source)

Creates a Float preference for the key with a default of defaultValue