Exp - Built-in Arithmetic Function¶
Purpose¶
Exp returns the exponential value of the floating-point parameter, x, if successful. That is, the result is e to the power x, where e is the base of the natural logarithm.
Syntax¶
Exp(num)
Arguments¶
| Argument | Required | Description |
|---|---|---|
num |
Yes | Any numeric expression greater than 0 |
Returns¶
Number
Example¶
Return Exp(5) // returns 148.41 (when the field has a 2 decimal format)
Notes¶
- When
numcannot be converted to a number, a runtime error is generated. - On overflow (> 709.782712893), the function returns INF (infinite) and on underflow, exp returns 0.