SWiSH Player Support
SWF4 or later - Supported Internally
Syntax
Math.log(x)
Arguments
x: A number or expression > 0.
Returns
A number.
Description
Returns the natural logarithm of the parameter x.
Sample
Math.log(2); // returns natural log of 2, approximately 0.6931
Math.log(100)/Math.log(10); // returns 2, the log, base 10 of 100
Note: Requires Advanced Math Support. See here for more information
See Also
Math.exp(), Math.log10(), Converting Log Base
Math.pow() and Math.sqrt().