74
MySQL LN() Function
The LN() is a Math function of MySQL. This function is used to get the natural logarithm of the given number.
Syntax
Prameter:
number : It is the number for getting log value.
Returns
This function returns the natural logarithm of the given number. If the number is less than or equal to 0, this function will return NULL.
Example 1
Output:
Example 2
Output:
Example 3
Output:
Next TopicMySQL Math