Skip to main content
Version: Latest-3.3

e

Description

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)