Description
Returns the natural (base e) logarithm of an expression.
Syntax
logarithm = Ln(expression)
Parameters
Parameter | Description |
---|---|
Expression | Any 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)