Provide the logarithm base e of 2.
SELECT LN(2); |
The LN() function computes the natural logarithm of a given number.
Note: Also refer to the LOG() and EXP() functions for related operations.
LN(number) |
Parameter |
Description |
number |
Mandatory: A numerical value that must exceed 0. |
Works in: | From MySQL 4.0 |
Give the logarithm base e of 1.
SELECT LN(1); |