Log
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.
This function uses 32-bit Integers, therefore the range of valid parameters is
-2147483648 and +2147483648
Syntax
Parameters
Name
Type
Required
Description
number
numeric
☑️
a numeric value.
base
numeric
a numeric value.
Examples
Function call
Result
Log(5)
1.6094
Log(25, 5)
2
Log(5, 25)
0.5
Last updated
Was this helpful?