Compute the natural logarithm of a number.
The number. (n>0)
n>0
Returns the logarithm of n to base e.
n
e
0.5.0
ln(2)// => 0.6931471805599453log(-1)// => undefined Copy
ln(2)// => 0.6931471805599453log(-1)// => undefined
Compute the natural logarithm of a number.