Calculates e (the base of the natural logarithms) raised to the value of the argument.

Syntax

EXP(expression)

Arguments

expression: a numeric value of type DOUBLE.

Returns

A DOUBLE value.

Examples

SELECT numberCol, EXP(numberCol) AS numberColEXP FROM MYSQL.inventory.cust;

-- EXP()
-- Returns 2.71828182849505