Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
There are three number types in ActionScript 3.0, each with different strengths.
The value NaN represents invalid and unassigned numbers; a Number can be neither undefined nor void.
Edge cases are handled by special constants in the number classes.
You can operate on numbers with supported operators.
Numbers can be typed directly in code in multiple notations.
Numbers can be converted between numeric types, parsed from strings, and printed into strings.
The Math utility class contains static methods for arithmetic and trigonometry.
Math.random() generates pseudorandom numbers between 0 and 1.
The Date class stores an instant in time.
Epoch time stores an instant in time as a number.
You can access and alter a Date instance using many units of time.