log

Returns the base 10 (or a specific base) logarithm of the value.

See also ln.

Syntax

log([base])
Parameter Description
base The optional base of the logarithm to evaluate (default is 10).

Examples

$('AVar').log()
$('AVar').log(2) // base-2 logarithm