What Methods and Constants are available with the Math object?

The Math object holds useful methods and constants to use in mathematical calculations. These methods and constants can be substituted in your javascript wherever numerical values are allowed. The Math object is pre-defined so does not need to be defined before use. The methods available with the Math object are:

The Math object also defines a number of useful constants (approximate values indicated).


This article written by Stephen Chapman, Felgall Pty Ltd.

go to top

FaceBook Follow
Twitter Follow