putDouble

fun SharedPreferences.Editor.putDouble(key: String, value: Double): SharedPreferences.Editor

Sets key to the Double value value in the preferences editor, to be written back once SharedPreferences.Editor.commit or SharedPreferences.Editor.apply are called.

Return

A reference to the same SharedPreferences.Editor object, so you can chain put calls together.