LOG()

LOG(V)

RETURNS THE NATURAL LOGARITHM OF V

  • Type: Function
  • Parameter: 1
  • Group: Mathematics

ACTION

The function LOG(V) returns the natural logarithm of V.

V can be a real or integer number and must be strictly positive.

SYNTAX: Result=LOG(V)

  • V = valeur réelle ou entière.

USE

  • The function LOG() is used to calculate a logarithm.

ERROR

  • If V is less than or equal to 0.
  • If V is not a correct expression.

EXAMPLE

print log(3)

print "Result = 1.09861228866811"

SEE ALSO

EXP()

LOG10()

LOG2()