The LOG function returns the logarithm of a number to the base that you specify.
Syntax
LOG(
number
[,base]
)
Parameters
- number: Number whose logarithm you want to calculate.
- base: Optional argument. Base of the logarithm.
Returned value
The LOG function returns a real number.
Additional Information
Examples
The logarithm in base 2 of the number 8 is calculated, resulting in the number 3:
In this example, the logarithm of 100 is calculated without specifying the base, so base 10 is considered by default, returning the number 2:
Category
Mathematical and trigonometric