Math.log()
Availability
Flash Player 5. In Flash Player 4, the methods and properties of the Math class are emulated using
approximations and may not be as accurate as the non-emulated math functions supported by
Flash Player 5.
Usage
Math.log(x)
Parameters
A number or expression with a value greater than 0.
x
Returns
A number.
Description
Method; returns the logarithm of parameter x.
Math.LN2
Availability
Flash Player 5. In Flash Player 4, the methods and properties of the Math class are emulated using
approximations and may not be as accurate as the non-emulated math functions supported by
Flash Player 5.
Usage
Math.LN2
Parameters
None.
Returns
Nothing.
Description
Constant; a mathematical constant for the natural logarithm of 2, expressed as log
approximate value of 0.69314718055994528623.
452
Chapter 12: ActionScript Dictionary
2, with an
e
Need help?
Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?