setCellType(HSSFCELL.CELL_TYPE_NUMERIC) is not working in apache poi
问题 SetCellType(HSSFCELL.CELL_TYPE_NUMERIC) is not working in apache poi. Anyone have used this feature of POI in JAVA? When I created XLS file using POI and cell contains integer value and I set cell type as numeric at that time that cell reflects some other integer value. Example: Using JAVA program and poi utility, I am putting in Cell A1 value "5" . Now this cell contains Integer value but by default cell type is CELL_TYPE_STRING . So this cell gives me error and asked me to convert this cell