Log
Last updated
Last updated
The Log()
function calculates the natural logarithm (base e
) of a given number, or calculates the logarithm of a number by specified base.
Read wiki for more info about logarithm.
This function is NOT SQL compatible. For more information about SQL compatibility, see our documentation.
Returns the logarithm of a givennumber
, using base e
or a specified base number.
Returns Invalid expression
if one of the parameter values is not a valid number.
Name | Type | Required | Description |
---|---|---|---|
Function call | Result |
---|---|
Log(5)
1.6094
Log(25, 5)
2
Log(5, 25)
0.5
number
numeric
a numeric value.
base
numeric
a numeric value.