The ln() function returns the natural logarithm (base e, which is 2.718281828 rounded to precision) of a given numeric expression.
ln(num.exp)
num.exp | Number to be converted to its natural logarithm form. |
If the expression is less than or equal to 0, ln returns a 0 and prints a run-time error message.
This function is the inverse of the exp() function.