O'Reilly logo

ActionScript 3.0: Visual QuickStart Guide by Derrick Ypenburg

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required