Method
Math.pow()
Math.random()
Math.round()
Math.sin()
Math.sqrt()
Math.tan()
Property summary for the Math class
All the following properties for the Math class are constants:
Property
Math.E
Math.LN2
Math.LOG2E
Math.LN2
Math.LOG10E
Math.PI
Math.SQRT1_2
Math.SQRT2
420
Chapter 2: ActionScript Language Reference
Description
Computes
raised to the power of the
x
Returns a pseudo-random number between 0.0 and 1.0.
Rounds to the nearest integer.
Computes a sine.
Computes a square root.
Computes a tangent.
Description
Euler's constant and the base of natural logarithms (approximately 2.718).
The natural logarithm of 2 (approximately 0.693).
The base 2 logarithm of e (approximately 1.442).
The natural logarithm of 10 (approximately 2.302).
The base 10 logarithm of e (approximately 0.434).
The ratio of the circumference of a circle to its diameter (approximately 3.14159).
The reciprocal of the square root of 1/2 (approximately 0.707).
The square root of 2 (approximately 1.414).
.
y
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