public static Integer parseRoundInt(Object tag) {
    if (tag == null) {
      return null;
    }
    try {
      var matcher = TO_ROUND_INT_SUBSTRING_PATTERN.matcher(tag.toString());
      return matcher.find() ? Math.round(Float.parseFloat(matcher.group(1))) : null;
    } catch (NumberFormatException e) {
      return null;
    }
  }
Returns {@code tag} as a number rounded to the nearest integer or null if invalid.
planetiler-core/src/main/java/com/onthegomap/planetiler/util/Parse.java