Table of Contents

Ln function

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() function, PWR() function, SQRT() function

Example

* Returns the logarithm of the VALUE expression.

result = Ln(VALUE)