Math > Math.random

Math.random

Syntax

Math.random();

Arguments

None.

Description

Method; returns a pseudo-random number between 0.0 and 1.0.

Player

Flash 5 or later. In the Flash 4 Player, the methods and properties of the Math object are emulated using approximations and may not be as accurate as the non-emulated math functions supported by the Flash 5 Player.

See also

random