LN

Returns the natural (base) logarithm of a value.

Syntax

LN(Value)

Value is any positive number. If Value is negative or zero, the result is undefined.

Examples

This example returns 0:

LN(1)

This example returns 1:

LN(2.71828)