Math.LOG2E
Availability
Flash Player 5. In Flash Player 4, the methods and properties of the Math class are emulated using
approximations and might not be as accurate as the non-emulated math functions that Flash
Player 5 supports.
Usage
Math.LOG2E:Number
Parameters
None.
Returns
Nothing.
Description
Constant; a mathematical constant for the base-2 logarithm of the constant e (
as log2
, with an approximate value of 1.442695040888963387.
e
Example
This example traces the value of
trace(Math.LOG2E);
// Output: 1.44269504088896
434
Chapter 2: ActionScript Language Reference
.
Math.LOG2E
), expressed
Math.E
Need help?
Do you have a question about the FLASH MX 2004-ACTIONSCRIPT LANGUAGE and is the answer not in the manual?
Questions and answers