LOG

Returns the logarithm of a number given a base.

Usage examples 

  • LOG(10, 2)

  • LOG(tableA.fieldB, 2)

Syntax 

LOG ( value, [ base ] )

  • value - Any positive numeric expression.

  • base - The base to use for calculation of the logarithm. 10 by default.

Returns 

number - The logarithm of the number.

Functions reference