- number
- the object to format, must be a Number.
- buffer
- the target string buffer to append the formatted number to.
- position
- on input: an optional alignment field; on output: the offsets of the alignment field in the formatted text.
Documentation for this section has not yet been entered.
Formats a number into a supplied buffer.
The number must be a subclass of Number. Instances of Byte, Short, Integer, and Long have Number.longValue invoked, as do instances of BigInteger where BigInteger.bitLength returns less than 64. All other values have Number.doubleValue invoked instead.
If the field member of field contains a value specifying a format field, then its beginIndex and endIndex members will be updated with the position of the first occurrence of this field in the formatted text.