# LOG()

Returns the natural logarithm of a number.

Syntax

  LOG( <nNumber> ) --> <nLog>

Arguments

  <nNumber> Any numeric expression.

Returns

  <nExponent> The natural logarithm of <nNumber>.

Description

  This function returns the natural logarithm of the number <nNumber>. If <nNumber> is 0 or less than 0, a numeric overflow occurs, which is depicted on the display device as a series of asterisks. This function is the inverse of EXP().

Examples

          ? LOG(632512)

Status

  Ready

Compliance

  This function is CA-Clipper compliant.

Platforms

  All

Files

  Library is rtl

See Also

- EXP()