LOG (logarithm)

<< Click to Display Table of Contents >>

LOG (logarithm)

Syntax:

LOG(Number [, Base])

Description:

Returns the logarithm of Number to the specified base.

Number must be > 0.

If Base is omitted, base 10 is used.

Example:

LOG(100) equals log10 (100) and returns 2

LOG(10 ^ 0.1234) returns 0.1234

LOG(8, 2) equals log2 (8) and returns 3

See also:

LOG10, LN, EXP, POWER