Formats a bitcoin value as a number and possibly a units indicator and appends the resulting text to the given string buffer. The type of monetary value argument can be any one of any of the following classes: Coin, Integer, Long, BigInteger, BigDecimal. Num
(Object qty, StringBuffer toAppendTo, FieldPosition pos)
| 1147 | * @return the {@link StringBuffer} passed in as {@code toAppendTo} |
| 1148 | */ |
| 1149 | @Override |
| 1150 | public StringBuffer format(Object qty, StringBuffer toAppendTo, FieldPosition pos) { |
| 1151 | return format(qty, toAppendTo, pos, minimumFractionDigits, decimalGroups); |
| 1152 | } |
| 1153 | |
| 1154 | /** |
| 1155 | * Formats a bitcoin value as a number and possibly a units indicator to a |