code: private void configureFormatter(NumberFormat formatter) {
  
          formatter.setGroupingUsed(groupingUsed);
          if (isMaxIntegerDigitsSet()) {
              formatter.setMaximumIntegerDigits(maxIntegerDigits);
          }
          if (isMinIntegerDigitsSet()) {
              formatter.setMinimumIntegerDigits(minIntegerDigits);
          }
          if (isMaxFractionDigitsSet()) {
              formatter.setMaximumFractionDigits(maxFractionDigits);
          }
          if (isMinFractionDigitsSet()) {
              formatter.setMinimumFractionDigits(minFractionDigits);
          }
  
      }
docs: <p>Configure the specified <code>NumberFormat</code> based on the
  formatting properties that have been set.</p>
  
  @param formatter The <code>NumberFormat</code> instance to configure