code: public float getFloat(String key, float defaultValue) {
      Object value = get(key);
      return Utils.coerceToFloat(value, defaultValue);
    }
docs: Returns the value mapped by {@code key} if it exists and is a float or can be coerced to a
  float. Returns {@code defaultValue} otherwise.