docs: public static float parseFloat(final String str, final float def) {
          final Float result = parseFloat(str);
          if (result == null) {
              return def;
          } else {
              return result.floatValue();
          }
      }