@Override
    public StringBuffer format(double number, StringBuffer toAppendTo, FieldPosition pos) {
      throw new IllegalArgumentException("Cannot format non-integer number");
    }
@Override
    public StringBuffer format(double number, StringBuffer toAppendTo, FieldPosition pos)