LOG¶
Returns the logarithm of given number to a specified base.
Syntax
=LOG(Number, Base)
Arguments
Name |
Description |
---|---|
Number |
The number for which the logarithm should be calculated. |
Base |
Optional. The base of the logarithm. Defaults to 10. |
Return Value
The logarithm of given number.
Example
Function |
Result |
Comment |
---|---|---|
=LOG(10) |
1 |
No base specified so 10 is used and hence it must be raised only one time. |
=LOG(8, 2) |
3 |
The base value must be raised three times. |