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

Mathematical functions

Function syntax

Exp(number)

See also

LogLog10

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>

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy