public static SharedPreferences . Editor putDouble ( SharedPreferences . Editor editor , String key , double value ) { return editor . putString ( key , String . valueOf ( value ) ) ; }
Set a double value in the preferences editor .