跳到主要内容
版本: 最新版本-3.5

e

Returns the constant e (the base of natural logarithms). (返回常数 e (自然对数的底数)。)

语法

E();

参数

This function takes no parameters. (此函数不接受任何参数。)

返回值

Returns the constant e as an DOUBLE. (返回常数 e 作为 DOUBLE 类型。)

示例

mysql> select e();
+-------------------+
| e() |
+-------------------+
| 2.718281828459045 |
+-------------------+
1 row in set (0.01 sec)