exp(n)

Returns the value of Euler's number e raised to the power of n, where e = 2.71828183… The smallest value for n that does not result in 0 is 3e-324. n can be any real numeric value in the range of -1.797e308 <= n <= 700.

exp(n) takes the following syntax.

SELECT exp(n) as AliasName
FROM dataset;

Example

This example returns the value of e raised to the 5th power.

SELECT exp(5) as expExample FROM Superstore
LIMIT 1;
expExample
148.413