# LOG function

LOG returns the logarithm of a number to the specified base.

## Syntax

LOG (`number`,`base`)

`number`is the value whose logarithm is to be calculated.`base`(optional) is the base for the logarithm calculation.

## Example

`=LOG(10,3)` returns
he logarithm to base 3 of 10 (approximately `2.0959`).

`=LOG(7^4,7)` returns `4`.