## Examples

`LOG(3.14)`

: 0.496929648073215 (equivalent to `LOG(10, 3.14)`

or `LOG10(3.14)`

)

`LOG(10)`

: 1 (equivalent to `LOG(10, 10)`

or `LOG10(10)`

)

`LOG(100)`

: 2 (equivalent to `LOG(100, 10)`

or `LOG10(100)`

)

`LOG(8, 2)`

: 3 (equivalent to `LOG2(8)`

)

`LOG(POWER(10, 6))`

: 6

`POWER(10, LOG(7))`

: 7.00

## Syntax

**LOG(** *x* [ **,** *b* ] **)**

## Arguments

*x*(any numeric type)*b*(any numeric type): Optional exponent base. If omitted, 10 is used.

## Return Value

*Decimal*: the computed logarithm of *x* with base *b* (or 10 if *b* is omitted)