Calculates the exponent whose base is e that represents number . The constant e equals 2.71828182845904, the base of the natural logarithm. This function is the inverse of Log, the natural logarithm of number .
The constant e, raised to the power of number .
Exp(number) |
Parameter |
Description |
|---|---|
number |
Exponent to apply to the base e |
To calculate powers of other bases, use the exponentiation operator (^).
<cfscript> number = 2; writeOutput(exp(number)) ; //Returns 7.38905609893 </cfscript>
Sign in to your account