rocket / com.stavro_xhardha.rocket / Rocket / writeFloat

writeFloat

fun writeFloat(key: String, value: Float): Unit

Writes a Float to SharedPreferences

Parameters

key - The key you wish to save to retrieve the value with

value - The value you provide for the given key