We have an issue where in the Format of the cells set as "Numeric Forrmat" in xls template is getting nullified (or) changed to General when the value is set from Java Code using JExcel API.
NumberFormat nf = new NumberFormat("#####.###");
WritableCellFormat format = new WritableCellFormat(nf);
ezCostSheet.setProtected(false);
format.setLocked(false);
format.setBorder(Border.ALL, BorderLineStyle.THIN, Colour.BLUE2);
cell.setCellFormat(format);
If anyone has tried this and solved, Please let us know the solution.