Skip to main content
Version: Latest-4.1

e

Returns the constant e (the base of natural logarithms).

Syntax​

E();

Parameters​

This function takes no parameters.

Return value​

Returns the constant e as an DOUBLE.

Examples​

mysql> select e();
+-------------------+
| e() |
+-------------------+
| 2.718281828459045 |
+-------------------+
1 row in set (0.01 sec)
Rocky the happy otterStarRocks Assistant

AI generated answers are based on docs and other sources. Please test answers in non-production environments.