Gets the value of the cell. If the value is set as a formula, the method returns the formula text.
$cell = new SpreadSheetCell($res, "1","B1", $db_prefix);
$cell->setValue("=(8+10)/2");
$parsedValue = $cell->getValue(); // -> (8+10)/2
$calcValue = $cell->getCalculatedValue(); // -> 9
See also: setValue, getCalculatedValue
Back to top