Chapter 11. Working with the Math and Date Classes
Math in programming is used for calculating commerce-driven applications, dynamic display layout, random activity for gaming interfaces and functionality, as well as in applications that need algebra and trigonometry to govern their functionality. Advanced math requires functions and constant values for equations. The Math
class includes functions and constants to assist in math operations. After reading this chapter, you should be comfortable with the Math
class methods.
The Date
class offers an extensive list of properties and methods for working with the local date and time of a user, as well as time zone and Coordinated Universal Time (UTC) for international users. The class also includes properties ...
Get ActionScript 3.0: Visual QuickStart Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.