1 package com.sharkysoft.printf;
2
3 import java.math.BigDecimal;
4
5 final class Formatter_f_Bi extends Formatter_f
6 {
7
8 Formatter_f_Bi(final FormatSpecifier ipPfs)
9 {
10 super(ipPfs);
11 }
12
13 void format(final PrintfState ipPs)
14 {
15 adjustWidthAndPrecision(ipPs);
16 formatBigDecimal(ipPs);
17 }
18
19 Class[] argTypes() {
20 Class[] types = super.argTypes();
21 types[0] = BigDecimal.class;
22 return types;
23 }
24 }
25