log

Syntax: log(real1)

Argument:

  • real1 is a number.

Return Type: Real

Description: Returns the natural logarithm of a positive number using a base of e (2.718282). If real1 is zero or a negative number, the following results occur:
  • When real1 is zero, the function returns -Infinity.
  • When real1 is negative, the function returns NaN (Not a Number).

Example:

log(2.718282) = 1
  • www.fico.com