Accessibility
 
Home > Products > Flash > Support > ActionScript Dictionary
Flash Icon Macromedia Flash Support Center - ActionScript dictionary
Math.random

Availability
Flash Player 5. In Flash Player 4, 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 Flash Player 5.

Usage

 Math.random() 

Parameters
None.

Returns
A number.

Description
Method; returns n, where 0 <= n < 1.

See also
random

To Table of Contents Back to Previous document Forward to next document