code: public double getDouble(String key, double defaultValue) {
      String value = get(key);
      return value == null ? defaultValue : Double.parseDouble(value);
    }
docs: Returns the double value to which the specified key is mapped,
  or defaultValue if there is no mapping for the key. The key match is case-insensitive.