LOG
Calculate logarithm of number in given base

Description

Given a number, calculates its logarithm in the given base.

Function signature

1
LOG(number: Number, base: Number) => Number
Copied!
Parameter
Description
Number
Number to calculate the logarithm
Base
Base to calculate the logarithm

Examples

Formula
Return value
LOG(1, 2)
0
LOG(100, 10)
2
LOG(10, 100)
0.5
Last modified 1yr ago
Export as PDF
Copy link