Returns the the logarithm of a number given a base.

Parameters

value Number (required) - The value for which to calculate the logarithm given base.

base Number (optional) [default = 10] - The base to use for the logarithm calculation.

Returns

Number

Examples

LOG(100, 5)

// returns 2.8613531161467867
LOG(100)

// returns 2