This implementation uses the maximum precision permitted.
@param number the number to format
@param toAppendTo the StringBuffer
to which the formattedtext is to be appended
@param pos On input: an alignment field, if desired.On output: the offsets of the alignment field.
@return the value passed in as toAppendTo
@exception IllegalArgumentException if number
isnull or not an instance of Number
.
@exception NullPointerException if toAppendTo
or pos
is null
@exception ArithmeticException if rounding is needed with roundingmode being set to RoundingMode.UNNECESSARY
@see java.text.FieldPosition
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|