syntax:functions:log
Table of Contents
Log(number)
Category: Number function
Description
This function returns the natural logarithm of number.
Arguments
Argument | Type | Description |
---|---|---|
number | Number (positive, non-0 value) | The value for which the natural logarithm is returned. |
Return value type: Number
Examples
log(1) //Returns 0
log(2) //Returns 0.693147180559945
log(0) //Returns "#Can't convert infinity to a decimal number" (Argument needs to be a positive, non-0 value.)
See also
syntax/functions/log.txt · Last modified: 2021/08/11 15:24 by craigt