exponent
This function returns the base-e exponential function of x, which is the e number raised to the power x.
double exponent(double x)
Parameters:
x
The number to calculate.
Return value:
Exponential value of x.
Remarks:
If the magnitude of the result is so large that it cannot be represented, the function returns 0.
Example:

    void main()
    {
    double param=5.0;
    double result=exponent(param);
    alert("exponent test", "the exponential value of "+param+" is "+result+".");
    }