title: Read Excel Numeric cell values as they are in Java
body: <p>When I am reading excel numeric cell values, i am getting the output with decimals. eg: 79 is reading as 79.0, 0.00 reading as 0.0. The code for my application I have written is:</p>
  
  <pre><code>int type = cell.getCellType();
  if (type == HSSFCell.CELL_TYPE_NUMERIC)
    System.out.println(cell.getNumericCellValue());
  </code></pre>