code: private double getValue(HashMap m, String key) {
          try {
              return Double.parseDouble(getValueOr(m, key, ""));
          } catch (Exception e) {
              return Double.MIN_VALUE;
          }
      }
docs: Get number value by using key from map
  
  @param m Data record
  @param key variable name
  @return