Log.errorln("EXPONENT WIDTH:"+wsize+" Precision:"+esize);
  private void generateFormatPattern ( ) {     StringBuffer leftpattern = new StringBuffer();     StringBuffer rightpattern = new StringBuffer();     StringBuffer etemplate = new StringBuffer();     // precision is the size of the exponent excluding 'E'     int esize = getPrecision().intValue();     // width including 'E' and exponent     int wsize = getWidth().intValue() - esize - 1;Log.errorln("EXPONENT WIDTH:"+wsize+" Precision:"+esize);        if(wsize > 2)         etemplate.append("#");     leftpattern.append("0.");     while (wsize-- > 3)        leftpattern.append("0");     rightpattern.append("E0");     while (esize-- > 1)        rightpattern.append("0");     // finish building the template     etemplate.append(leftpattern.toString()+rightpattern.toString());     etemplate.append(";-"+leftpattern.toString()+rightpattern.toString());     formatPattern = etemplate.toString();  }