August 2007
Intermediate to advanced
591 pages
14h 16m
English
One of the primary capabilities that computers are renowned for is their ability to perform math very accurately and very quickly. All programming languages include features, constants, functions, and other math elements that allow the programmer to perform mathematics. Likewise, JavaScript includes many features related to math, enabling JavaScript programmers to invoke numeric calculations in our scripts. In this chapter we will explore these mathematical operations and show you ways to implement them in your web pages.
Math in JavaScript is based on two general elements of the language:
Mathematical ...
Read now
Unlock full access