public ExponentialFormat( int digits, int exp, boolean sign, boolean trailing ) { this.digits = digits; this.exp = exp; this.sign = sign; this.trailing = trailing; nf = new DecimalFormat( pattern() ); nf.setPositivePrefix("+"); nf.setNegativePrefix("-");
public ExponentialFormat () { this( 5 );
  public ExponentialFormat( int digits, int exp, boolean sign, 			    boolean trailing ) {    this.digits = digits;    this.exp = exp;    this.sign = sign;    this.trailing = trailing;    nf = new DecimalFormat( pattern() );    nf.setPositivePrefix("+");    nf.setNegativePrefix("-");  }