code: public final String format(java.math.BigDecimal number) {
          return format(number, new StringBuffer(),
                        new FieldPosition(0)).toString();
      }
docs: Convenience method to format a BigDecimal.