public static Percentage fromInt(final int val) {
    checkArgument(val >= 0 && val <= 100);
    return new Percentage(val);
  }
Instantiate percentage.

@param val the val
@return the percentage
util/src/main/java/org/hyperledger/besu/util/number/Percentage.java