LN

Syntax

LN (Data)

Description

The LN function returns the natural logarithm of Data. The value of Data must be greater than zero; otherwise, LN returns an error value.

Example

These examples employ the LN built-in function:

  • LN(7)returns 1.9459101491.

  • LN(E( ) ^ 5) returns 5.

  • LN(25) / LN(5) returns 2.

  • LN(-7)returns an error.