public abstract StringBuffer format (double number, StringBuffer toAppendTo, FieldPosition pos)

Specialization of format.

Exceptions:
ArithmeticException    if rounding is needed with rounding mode being set to RoundingMode.UNNECESSARY

See also:
java.text.Format.format