log10
description
Syntax
DOUBLE log10(DOUBLE x)
返回以10
为底的x
的自然对数.
提示
该函数的另一个别名为 dlog10
。
example
mysql> select log10(1);
+------------+
| log10(1.0) |
+------------+
| 0 |
+------------+
mysql> select log10(10);
+-------------+
| log10(10.0) |
+-------------+
| 1 |
+-------------+
mysql> select log10(16);
+--------------------+
| log10(16.0) |
+--------------------+
| 1.2041199826559248 |
+--------------------+
keywords
LOG10, DLOG10