docs: public static void checkPositiveNumber(final Number number, final String name) throws IllegalArgumentException {
      if (number == null || number.doubleValue() <= 0) {
        throw new IllegalArgumentException("Expecting a positive number for " + name);
      }
    }