LN(X) returns the natural logarithm of X; that is, the base-e logarithm of X : LN : Math Numeric Functions MySQL TUTORIALS


MySQL TUTORIALS » Math Numeric Functions » LN »

 

LN(X) returns the natural logarithm of X; that is, the base-e logarithm of X


mysql>
mysql> SELECT LN(2);
+------------------+
| LN(2)            |
+------------------+
0.69314718055995 |
+------------------+
row in set (0.00 sec)

mysql>
mysql> SELECT LN(-2);
+--------+
| LN(-2|
+--------+
|   NULL |
+--------+
row in set (0.00 sec)

mysql>



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo Math Numeric Functions
» LN