Provide the result of raising Euler’s number (e) to the power of 1.
SELECT EXP(1); |
The EXP() function yields the value of Euler’s number (e) raised to the power of the given number. The constant e (approximately 2.718281…) serves as the base for natural logarithms.
Tip: Consider also the LOG() and LN() functions.
EXP(number) |
Parameter |
Description |
number |
Necessary: The exponent value is required. |
Works in: | From MySQL 4.0 |
Provide the result of raising Euler’s number (e) to the power of 2.
SELECT EXP(2); |