float

fun ISharedPreferencesOwner.float(defaultValue: Float = 0.0f, commit: Boolean = false): SharedPreferencesProperty<Float>

Save or set a float value into SharedPreferences.

Since

0.5.6

Parameters

defaultValue

The defaultValue to return if this preference does not exist.