top of page
MySQL:
EXP
Syntax:
EXP(X)
Returns the value of e (the base of natural logarithms) raised to the
power of X. The inverse of this function is LOG() (using a single
argument only) or LN().
URL: https://dev.mysql.com/doc/refman/8.0/en/mathematical-functions.html
Example
mysql> SELECT EXP(2);
-> 7.3890560989307
mysql> SELECT EXP(-2);
-> 0.13533528323661
mysql> SELECT EXP(0);
-> 1
bottom of page