【发布时间】:2013-05-10 13:02:19
【问题描述】:
当我读取 excel 数字单元格值时,我得到的输出是小数。例如:79 读数为 79.0,0.00 读数为 0.0。我编写的应用程序代码是:
int type = cell.getCellType();
if (type == HSSFCell.CELL_TYPE_NUMERIC)
System.out.println(cell.getNumericCellValue());
【问题讨论】:
标签: java excel apache-poi