public float getFloat(String key) {
        Float f = (Float) get(key);
        if (f == null) {
            return 0f;
        }

        return f.floatValue();
    }
Get a float from the settings.
<p>
If the key is not set, then 0.0 is returned.

@param key the key of a float setting
@return the corresponding value, or 0 if not set
jme3-core/src/main/java/com/jme3/system/AppSettings.java