ln
description
Syntax
DOUBLE ln(DOUBLE x)
返回以e
为底的x
的自然对数.
example
mysql> select ln(1);
+---------+
| ln(1.0) |
+---------+
| 0 |
+---------+
mysql> select ln(e());
+---------+
| ln(e()) |
+---------+
| 1 |
+---------+
mysql> select ln(10);
+--------------------+
| ln(10.0) |
+--------------------+
| 2.3025850929940459 |
+--------------------+
keywords
LN