In Access, the Log function returns the natural logarithm of a number. The natural logarithm is the logarithm to the base e. The constant e is approximately 2.718282.
The syntax for the Log function is:
Log ( number )
The argument number can be any valid numeric expression greater than zero.
|
VBA Code
|
This example uses the Log function to return the natural logarithm of a number. Now the MyNumber variable would contain the value 2,6390573.
SQL query
You can also use the Log function in a query.
|