math.log
Returns the logarithm of x using the given base, or the mathematical constant e
if no base is provided (natural logarithm).
math.log(x: number, base: number): number
Arguments
Name | Description | Type |
---|---|---|
x | N/A | number |
base | Base (defaults to 2.7182818) | number |
Returns number