exp

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.

exp(number) → returns numeric

Argument Reference

number numeric
Required

Exponent to apply to the base e.

Examples
Sample code invoking the exp function

The result could vary depending on if the server is running windows or linux. On a windows box the result will be round to 3.1

exp(1.13140211149)

Expected Result: 3.099999999997

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub