erf(X)

Returns the Gaussian error function of a given value.

Syntax

erf(X)

Input

Argument Type Description
X integer or decimal The value on which to compute the Gaussian error function

Return Value

Returns a decimal number corresponding to the Gaussian error function of X.

If X is N/A, the result is 0.

Sample Usage

X erf(X)
-20 -1
-1.5 -0.9661051
-1 -0.8427008
0 0
1 0.8427008
1.5 0.9661051
20 1
NA 0