public static float getFloat(final String key, final float def) {
		try {
			return systemRoot.getFloat(fixKey(key), def);
		} catch (final Exception e) {
			// just eat the exception to avoid any system
			// crash on system issues
			return def;
		}
	}
public static float getFloat ( final String key , final float def ) { try { return systemRoot . getFloat ( fixKey ( key ) , def ) ; } catch ( final Exception e ) { return def ; } }
Gets the float.

@param key the key
@param def the def
@return the float
@see java.util.prefs.Preferences#getFloat(java.lang.String, float)