title: org.apache.poi for xls write number format issue
body: <p>My java program uses org.apache.poi for writing xls document. xls file gets generated with proper number formats with XL 2010 but with XL 2013 number is not getting formatted and it shows 6 digits after decimal point</p>
  
  <p>Example:
  In xl 2010 12.123445 shows as 12.12 which is expected</p>
  
  <p>In xl 2013 12.123445 shows as 12.123225 which is not expected it should round two two digits after decimal.</p>
  
  <p>I have tried upgrading my org.apage.poi pom.xml with latest 3.14, 3.16-beta2.</p>
  
  <p>Currently using 3.10-FINAL.</p>
  
  <p>Any idea how to fix it ? Or any org.apache.poi method available for xl cell value to set it as number with rounding to 2 digits after decimal.</p>
  
  <p>Code snippet:</p>
  
  <pre><code>style = createStyle(sheet.getWorkbook(), (short) 10, fontWeight, fontColor);
  
                  Double number = Double.parseDouble(colHeader);
                  cell.setCellValue(number);
                  style.setDataFormat(format.getFormat("0.00"));
                  cell.setCellStyle(style);
  
  
  
  createStyle():
  protected HSSFCellStyle createStyle(Workbook wb, short fontSize, short boldWeight, short fontColor) {
  
          Font font = fontMap.get(getMapKey(fontSize, boldWeight, fontColor));
  
          if (font == null) {
              font = wb.createFont();
              font.setFontHeightInPoints(fontSize);
              font.setFontName("Arial");
              font.setBoldweight(boldWeight);
              font.setColor(fontColor);
              fontMap.put(getMapKey(fontSize, boldWeight, fontColor), font);
          }
          HSSFCellStyle style = ((HSSFWorkbook) wb).createCellStyle();
          style.setFont(font);
          return style;
      }
  </code></pre>