DataFormatter df = new DataFormatter(); FormulaEvaluator formulaEval = workbook.getCreationHelper().createFormulaEvaluator();
Cell cell = row.getCell(i, MissingCellPolicy.CREATE_NULL_AS_BLANK); String v = df.formatCellValue(cell, formulaEval);
DataFormatter df = new DataFormatter(); FormulaEvaluator formulaEval = workbook.getCreationHelper().createFormulaEvaluator();
Cell cell = row.getCell(i, MissingCellPolicy.CREATE_NULL_AS_BLANK); String v = df.formatCellValue(cell, formulaEval);
转载于:https://my.oschina.net/zkpursuit/blog/1827430