if (cell != null) {
final CellType cellTypeEnum = cell.getCellTypeEnum();
if ("NUMERIC".equals(cellTypeEnum.toString())) {
value = cell.getNumericCellValue();
if (!cell.getCellStyle().getDataFormatString().contains("%")) {
value *= 100;
}
}
cell.getNumericCellValue 判断“%“
最新推荐文章于 2021-10-22 10:08:58 发布