can i set the format in cell using apache poi? i was trying with this code :
HSSFSheet sheet = workbook.createSheet("test");
HSSFRow row = sheet.createRow(0);
Cell c = row.createCell(0);
c.setCellType(CellType.NUMERIC);
c.setCellValue(111);
and I was trying with this code from this link : Number and cell Formatting in apache poi
but it does not work. it is still in GENERAL Format. I want it change to NUMBER