Difference between revisions of "Log"
Jump to navigation
Jump to search
(Created page with "<c>log(x, base)</c> returns the logarithm (with the given) of the given number, that is, the number y such that base^y = x. === Arguments === {| class="wikitable" |- ! Para...") |
m (JoeStrout moved page Log(x, base) to Log without leaving a redirect) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
<c>log(x, base)</c> returns the logarithm (with the given) of the given number, that is, the number y such that base^y = x. | <c>log(x, base)</c> returns the logarithm (with the given) of the given number, that is, the number y such that base^y = x. | ||
| − | |||
=== Arguments === | === Arguments === | ||
Latest revision as of 15:25, 17 March 2020
log(x, base) returns the logarithm (with the given) of the given number, that is, the number y such that base^y = x.
Arguments
| Parameter Name | Default Value | Meaning |
|---|---|---|
| x | number, | number to take the log of |
| base | number default 10 | logarithm base |
Example
log(1000) // returns 3 (because 10^3 == 1000)