C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
MySQL LN() FunctionThe LN() is a Math function of MySQL. This function is used to get the natural logarithm of the given number. Syntaxselect LN(number); Prameter:number : It is the number for getting log value. ReturnsThis 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 1select LN(5); Output: Example 2select LN(11); Output: Example 3select LN(45.2); Output:
Next TopicMySQL Math
|