Description

Returns the natural (base e) logarithm of an expression.

Syntax

logarithm = Ln(expression)

Parameters

ParameterDescription
ExpressionAny legal BASIC+ expression.

Returns

LN calculates the natural logarithm (to the base e) of expression. The constant e is approximately 2.71828. Expression must evaluate to a positive number.

See also

EXP() functionPWR() functionSQRT() function

Example

* Returns the logarithm of the VALUE expression.
result = Ln(VALUE)
  • No labels