LN Function

The LN function returns the log base e of an expression.

Format

LN(expr)

Parameter(s)

expr

An expression evaluating to a numeric value.

Description

The LN function returns the natural log of an expression. The natural log is the log base e of a given expression. e is an irrational number, with an approximate value of 2.7183.

Example

To assign the natural log of 10 to the variable NLOG, the code would read:

NLOG = LN(10)

See Also

Statement and Function Reference