\PhpOffice\PhpSpreadsheet\Calculation\EngineeringErf

Summary

Methods
Properties
Constants
ERF()
ERFPRECISE()
erfValue()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$twoSqrtPi
N/A

Properties

$twoSqrtPi

$twoSqrtPi

Methods

ERF()

ERF(float  $lower, float  $upper = null) : float|string

ERF.

Returns the error function integrated between the lower and upper bound arguments.

Note: In Excel 2007 or earlier, if you input a negative value for the upper or lower bound arguments, 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 ranges. PhpSpreadsheet follows Excel 2010 behaviour, and accepts negative arguments.

Excel Function: ERF(lower[,upper])

Parameters

float $lower

lower bound for integrating ERF

float $upper

upper bound for integrating ERF. If omitted, ERF integrates between zero and lower_limit

Returns

float|string —

ERFPRECISE()

ERFPRECISE(float  $limit) : float|string

ERFPRECISE.

Returns the error function integrated between the lower and upper bound arguments.

Excel Function: ERF.PRECISE(limit)

Parameters

float $limit

bound for integrating ERF

Returns

float|string —

erfValue()

erfValue(mixed  $value) : mixed

Parameters

mixed $value

Returns

mixed —