log
var =
log
(
expr
)
Returns the natural logarithm of a number.
Parameters
expr
Any expression.
Remarks
You can calculate base-
n
logarithms for any number
x
by dividing the natural logarithm of
x
by the natural logarithm of
n
as follows:
logn
(x)
= log(
x
) / log(
n
)