exp()
Table of Contents
Overview
The exp() function takes a number as an argument, and returns the exponential value, of that number. That is, e (2.71828182845904) raised to the power of the given number.
Return Type
- Decimal
Syntax
(OR)
Parameter | Description | Data type |
---|---|---|
<variable> | Variable which will contain the returned value. | NUMBER |
<number> | The number whose exponential value will be returned. | NUMBER or DECIMAL |
Examples
expValue = number.exp(); // returns 2.718281828459045