jxl設置單元格格式為文本型?
jxl.write.Number labelNF = new jxl.write.Number(j, i ,6677); NumberFormat nf = new NumberFormat("#00"); WritableCellFormat wcf = new WritableCellFormat(nf); labelNF.setCellFormat(wcf ); ws.addCell(labelNF);
jxl設置單元格格式為文本型?
jxl.write.Number labelNF = new jxl.write.Number(j, i ,6677); NumberFormat nf = new NumberFormat("#00"); WritableCellFormat wcf = new WritableCellFormat(nf); labelNF.setCellFormat(wcf ); ws.addCell(labelNF);