Javatpoint Logo
Javatpoint Logo

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:


MySQL Math LN() Function

Example 2

Output:


MySQL Math LN() Function

Example 3

Output:


MySQL Math LN() Function
Next TopicMySQL Math





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA