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

Flash lite 2.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

LN10 (Math.LN10 property)

public static LN10 :
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
trace(Math.LN10);
// output: 2.30258509299405

LN2 (Math.LN2 property)

public static LN2 :
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
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
- A number or expression with a value greater than 0.
x:Number
Returns
- The natural logarithm of parameter
Number
420
ActionScript classes
Number
.
Math.LN10
Number
.
x
.
x

Advertisement

Table of Contents
loading

Table of Contents