code: 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;
  		}
  	}
docs: Gets the float.
  
  @param key the key
  @param def the def
  @return the float
  @see java.util.prefs.Preferences#getFloat(java.lang.String, float)