EXP Function
Raises 'e' to a specified value.
Syntax
EXP(expression)
Syntax Elements
expression is any valid DataBasic expression or any string, substring, or value; expressed as a variable name, a value, or a string enclosed in quotes.
Operation
No indication is made if overflow occurs.
If there is no PRECISION statement in the program, the value is returned rounded to the nearest four decimal places. Otherwise, the number of decimal places returned is as specified by the PRECISION statement.
In each case, the significant decimal places returned are the result of rounding. However, only up to five places are significant: if the PRECISION statement specifies a precision greater than five, trailing zeroes are appended to the five significant places so as to return the numbers of places specified.
Examples
A = "32" B = EXP(A) PRINT B
Prints the value of e raised to 32.
Z = LN(X)
Y = EXP(Z)
Assigns the anti-log of Z to variable Y.