To calculate the natural logarithm
The function returns the logarithm to base e (the Euler’s number) and is therefore called the natural logarithm.
It returns a positive number. In the case of 0, the result is -∞ (minus infinity).
ln(x)To calculate the natural logarithm of a number x to the base e (e is the Euler’s number).