Whatever message this page gives is out now! Go check it out!

Exp

Last update:
May 18, 2026

Description

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 .

Returns

The constant e, raised to the power of  number .

Category

Function syntax

Exp(number)

See also

Parameters

Parameter
Description
number
Exponent to apply to the base e

Usage

To calculate powers of other bases, use the exponentiation operator (^).

Example

<cfscript>
  number = 2;
  writeOutput(exp(number)) ; //Returns 7.38905609893
</cfscript>

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page