jxl 输出EXCEL 单元格数值型

jxl.write.NumberFormat nf = new jxl.write.NumberFormat(“0”); //定义数值格式
jxl.write.WritableCellFormat wcfN = new jxl.write.WritableCellFormat(nf);

labelNF = new jxl.write.Number(0, 0, meetvo.getNotsuremeng1(), wcfN);
sheet.addCell(labelNF);

    原文作者:billhepeng
    原文地址: https://blog.csdn.net/billhepeng/article/details/6434016
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞