Calculates the natural logarithm (the base-e logarithm) of a number.
log()
expects the n
parameter to be a value greater than 0 because the natural logarithm is defined that way.
Examples
Syntax
log(n)
Parameters
n
Number:
number greater than 0.
Returns
Number: natural logarithm of n.
This page is generated from the comments in src/math/calculation.js . Please feel free to edit it and submit a pull request!