View Javadoc

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