EasyManua.ls Logo

MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE - LN10 (Math.ln10 Property); LN2 (Math.ln2 Property); Log (Math.log Method)

MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE
780 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
420 ActionScript classes
LN10 (Math.LN10 property)
public static LN10 : Number
A mathematical constant for the natural logarithm of 10, expressed as loge10, with an
approximate value of 2.302585092994046.
Availability: ActionScript 1.0; Flash Lite 2.0 - 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.
Example
This example traces the value of
Math.LN10.
trace(Math.LN10);
// output: 2.30258509299405
LN2 (Math.LN2 property)
public static LN2 : Number
A mathematical constant for the natural logarithm of 2, expressed as loge2, with an
approximate value of 0.6931471805599453.
Availability: ActionScript 1.0; Flash Lite 2.0 - 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.
log (Math.log method)
public static log(x:Number) : Number
Returns the natural logarithm of parameter x.
Availability: ActionScript 1.0; Flash Lite 2.0 - 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.
Parameters
x:Number - A number or expression with a value greater than 0.
Returns
Number - The natural logarithm of parameter x.

Table of Contents

Related product manuals