Math.sqrt2 - MACROMEDIA FLASH MX 2004-ACTIONSCRIPT LANGUAGE Reference

Actionscript language reference
Table of Contents

Advertisement

Math.SQRT2

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.SQRT2
Description
Constant; a mathematical constant for the square root of 2, with an approximate value of
1.4142135623730951.
Example
This example traces the value of
trace(Math.SQRT2);
// Output: 1.4142135623731
Math.SQRT2.
Math.SQRT2
445

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx

Table of Contents