You are here

public function PHPExcel_Cell::setCalculatedValue in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Cell.php \PHPExcel_Cell::setCalculatedValue()

* Set old calculated value (cached) * *

Parameters

mixed $pValue Value: * @return PHPExcel_Cell

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Cell.php, line 318

Class

PHPExcel_Cell
PHPExcel_Cell

Code

public function setCalculatedValue($pValue = NULL) {
  if ($pValue !== NULL) {
    $this->_calculatedValue = is_numeric($pValue) ? (double) $pValue : $pValue;
  }
  return $this
    ->notifyCacheController();
}