LOG

Returns the base-x logarithm of the given number where x is base.

Syntax

LOG(number,{base})

Arguments

number - any positive non-zero number.

base - positive non-zero number for the base of the logarithm. If this value is omitted, the function assumes a base of 10.

Example

LOG( 100 ) = 2

LOG( 8, 2 ) = 3