app/src/main/java/id/rainey/master/utils/Settings.java
/**
     * Convenience method for storing doubles.
     * <p/>
     * There may be instances where the accuracy of a double is desired.
     * SharedPreferences does not handle doubles so they have to
     * cast to and from String.
     *
     * @param key The enum of the preference to store.
     * @param val The new value for the preference.
     */
Convenience method for storing doubles.

There may be instances where the accuracy of a double is desired.
SharedPreferences does not handle doubles so they have to
cast to and from String.

@param key The enum of the preference to store.
@param val The new value for the preference.
Convenience method for storing doubles . There may be instances where the accuracy of a double is desired . SharedPreferences does not handle doubles so they have to cast to and from String . @param key The enum of the preference to store . @param val The new value for the preference .
public void put(Key key, double val) {
        doEdit();
        editor.putString(key.name(), String.valueOf(val));
        doApply();
    }
public void put ( Key key , double val ) { doEdit ( ) ; editor . putString ( key . name ( ) , String . valueOf ( val ) ) ; doApply ( ) ; }
Convenience method for storing doubles.
Convenience method for storing doubles .