You are here

public function PHPExcel_Best_Fit::getCorrelation 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::getCorrelation()

File

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

Class

PHPExcel_Best_Fit
PHPExcel_Best_Fit

Code

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