double

fun ISharedPreferencesOwner.double(defaultValue: Double = 0.0, commit: Boolean = false): SharedPreferencesProperty<Double>

Save or set a double value into SharedPreferences.

Since

0.5.6

Parameters

defaultValue

The defaultValue to return if this preference does not exist.