WorksheetFunction.Erf Method (Excel)
Returns the error function integrated between lower_limit and upper_limit.
중요
This function has been replaced with one or more new functions that may provide improved accuracy and whose names better reflect their usage. This function is still available for compatibility with earlier versions of Excel. However, if backward compatibility is not required, you should consider using the new functions from now on, because they more accurately describe their functionality.
For more information about the new function, see the Erf_Precise method.
Syntax
식 .Erf(Arg1, Arg2)
식 A variable that represents a WorksheetFunction object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
Arg1 |
필수 |
Variant |
Lower_limit - the lower bound for integrating ERF. |
Arg2 |
선택 |
Variant |
Upper_limit - the upper bound for integrating ERF. If omitted, ERF integrates between zero and lower_limit. |
Return Value
Double
Remarks
If lower_limit is nonnumeric, ERF returns the #VALUE! error value.
If lower_limit is negative, ERF returns the #NUM! error value.
If upper_limit is nonnumeric, ERF returns the #VALUE! error value.
If upper_limit is negative, ERF returns the #NUM! error value.