GitHubContribute in GitHub: Edit online

log()

log() returns the natural logarithm function.

Syntax

log(x)

Arguments

  • x: A real number > 0.

Returns

  • The natural logarithm is the base-e logarithm: the inverse of the natural exponential function (exp).
  • null if the argument is negative or null or can't be converted to a real value.

See also

  • For common (base-10) logarithms, see log10().
  • For base-2 logarithms, see log2()