Investment Studio > Expressions > Functions > Math & Trig > LN

float ln(float argument)

Returns the natural logarithm of the argument. The argument must be a positive number.

The natural logarithm is the inverse of exp.

Examples

=ln(E)

equals 1

=ln(exp(5))

equals 5

=exp(ln(7))

equals 7.

See also exp, log, log10, power.