code: public BigDecimal adjust(BigDecimal n) {
      return NumberFormattingUtils.setup(n,
          options.roundMode(), formatMode, minIntDigits, maxFracDigits, minFracDigits, maxSigDigits, minSigDigits);
    }
docs: Adjust the number using all of the options.