title: using poi , How to set the Cell type as number
body: <p>I am using poi 3.6 </p>
  
  <p>I am able to create the excel properly. But when I trying to set the cell type as number , it always give me cell type as general.</p>
  
  <p>i.e. In the newly create excel , when I right click and go to format cell ->there I always found number to be a General.</p>
  
  <p>My code is like this </p>
  
  <pre><code>style.setAlignment(CellStyle.ALIGN_RIGHT);
  dataCell.setCellValue(Float.parseFloat(value as String);
  dataCell.setCellType(Cell.CELL_TYPE_NUMERIC);
  dataCell.setCellStyle(style);
  </code></pre>
  
  <p>Can you please suggest what is missing here ?</p>