LOG
Returns the logarithm of a number to a specified base. When base is omitted, returns log base 10 (Excel-compatible).
| Category | Math |
| Syntax | LOG(number, [base]) |
Parameters
| Parameter | Required | Description |
|---|---|---|
number | Required | The positive real number for which you want the logarithm. |
base | Optional | The base of the logarithm. Defaults to 10 when omitted. |
Example
LOG(100) // → 2
LOG(8, 2) // → 3
Auto-generated from the EngCanvas function registry.