Syntax
- float ln(x)
Parameters
- x—float
Returns
Natural logarithm of x.
Description
The ln function calculates the natural logarithm of x. The natural logarithm is the base-e logarithm, the inverse of the natural exponential function (exp). For base-10 logarithms, use the function log10.