code: private void configureFormatter(NumberFormat formatter) {
          if (groupingUsedSpecified) {
              formatter.setGroupingUsed(isGroupingUsed);
          }
          if (maxIntegerDigitsSpecified) {
              formatter.setMaximumIntegerDigits(maxIntegerDigits);
          }
          if (minIntegerDigitsSpecified) {
              formatter.setMinimumIntegerDigits(minIntegerDigits);
          }
          if (maxFractionDigitsSpecified) {
              formatter.setMaximumFractionDigits(maxFractionDigits);
          }
          if (minFractionDigitsSpecified) {
              formatter.setMinimumFractionDigits(minFractionDigits);
          }
      }
docs: /*
  Applies the 'groupingUsed', 'maxIntegerDigits', 'minIntegerDigits',
  'maxFractionDigits', and 'minFractionDigits' attributes to the given
  formatter.