ln()

Scalar. Returns the natural logarithm of a given number.

Syntax

ln ( value )

Parameters

value

A float.

Usage

Returns the natural logarithm of a number. If the argument is invalid (for example, less than 0), the server logs a “Floating-point exception” error. The function takes a float as its argument, and the function returns a float.

Example

ln (2.718281828) returns 1.0.