public static function PHPExcel_Calculation_Engineering::ERFC in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation/Engineering.php \PHPExcel_Calculation_Engineering::ERFC()
* ERFC * * Returns the complementary ERF function integrated between x and infinity * * Note: In Excel 2007 or earlier, if you input a negative value for the lower bound argument, * the function would return a #NUM! error. However, in Excel 2010, the function algorithm was * improved, so that it can now calculate the function for both positive and negative x values. * PHPExcel follows Excel 2010 behaviour, and accepts nagative arguments. * * Excel Function: * ERFC(x) * *
Parameters
float $x The lower bound for integrating ERFC: * @return float
1 call to PHPExcel_Calculation_Engineering::ERFC()
- PHPExcel_Calculation_Engineering::_erfcVal in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Calculation/ Engineering.php
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Calculation/ Engineering.php, line 2332
Class
- PHPExcel_Calculation_Engineering
- PHPExcel_Calculation_Engineering
Code
public static function ERFC($x) {
$x = PHPExcel_Calculation_Functions::flattenSingleValue($x);
if (is_numeric($x)) {
return self::_erfcVal($x);
}
return PHPExcel_Calculation_Functions::VALUE();
}