int evaluatedCellType = evaluator.evaluateFormulaCell(cell);Be aware that your cell will hold both the formula, and the result. If you want the cell replaced with the result of the formula, use {@link #evaluateInCell(Cell)} @param cell The cell to evaluate @return The type of the formula result (the cell's type remains as Cell.CELL_TYPE_FORMULA however)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|