You are here

public function PHPExcel_Best_Fit::getCovariance in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/trend/bestFitClass.php \PHPExcel_Best_Fit::getCovariance()

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/trend/bestFitClass.php, line 293

Class

PHPExcel_Best_Fit
PHPExcel_Best_Fit

Code

public function getCovariance($dp = 0) {
  if ($dp != 0) {
    return round($this->_covariance, $dp);
  }
  return $this->_covariance;
}