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 判断“%“
最新推荐文章于 2023-06-15 11:23:58 发布