Flash CS3 Documentation |
|||
| ActionScript 2.0 Language Reference > ActionScript classes > Math > SQRT1_2 (Math.SQRT1_2 property) | |||
public static SQRT1_2 : Number
A mathematical constant for the square root of one-half, with an approximate value of 0.7071067811865476.
Availability: ActionScript 1.0; 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.
This example traces the value of Math.SQRT1_2.
trace(Math.SQRT1_2); // Output: 0.707106781186548
Flash CS3
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/9.0/main/00001840.html