Log

Syntax

Log(numeric_expression, [ base ])

Input Parameters

numeric_expression
Is a valid nonzero or nonnegative numeric expression.
base
Optional. If provided, uses "base" as the logarithm base, otherwise the natural logarithmic base of "e" is used.

Return Value

Returns the base logarithm. Given a single argument, it takes the natural logarithm (base e). Given two arguments, it uses the second argument as the base.