Skip to main content

LOG

Returns the logarithm of a number to a specified base. When base is omitted, returns log base 10 (Excel-compatible).

CategoryMath
SyntaxLOG(number, [base])

Parameters

ParameterRequiredDescription
numberRequiredThe positive real number for which you want the logarithm.
baseOptionalThe base of the logarithm. Defaults to 10 when omitted.

Example

LOG(100)         // → 2
LOG(8, 2) // → 3

Auto-generated from the EngCanvas function registry.