public function PHPExcel_Exponential_Best_Fit::getIntersect in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/trend/exponentialBestFitClass.php \PHPExcel_Exponential_Best_Fit::getIntersect()
* Return the Value of X where it intersects Y = 0 * *
Parameters
int $dp Number of places of decimal precision to display: * @return string *
Overrides PHPExcel_Best_Fit::getIntersect
3 calls to PHPExcel_Exponential_Best_Fit::getIntersect()
- PHPExcel_Exponential_Best_Fit::getEquation in vendor/phpoffice/ phpexcel/ Classes/ PHPExcel/ Shared/ trend/ exponentialBestFitClass.php 
- * Return the Equation of the best-fit line * *
- PHPExcel_Exponential_Best_Fit::getValueOfXForY in vendor/phpoffice/ phpexcel/ Classes/ PHPExcel/ Shared/ trend/ exponentialBestFitClass.php 
- * Return the X-Value for a specified value of Y * *
- PHPExcel_Exponential_Best_Fit::getValueOfYForX in vendor/phpoffice/ phpexcel/ Classes/ PHPExcel/ Shared/ trend/ exponentialBestFitClass.php 
- * Return the Y-Value for a specified value of X * *
File
- vendor/phpoffice/ phpexcel/ Classes/ PHPExcel/ Shared/ trend/ exponentialBestFitClass.php, line 106 
Class
- PHPExcel_Exponential_Best_Fit
- PHPExcel_Exponential_Best_Fit
Code
public function getIntersect($dp = 0) {
  if ($dp != 0) {
    return round(exp($this->_intersect), $dp);
  }
  return exp($this->_intersect);
}