July 1998
Intermediate to advanced
1456 pages
65h 5m
English
Math — NN 2 IE J1 ECMA 1
The Math object
is used only in its static object form as a library of math constant
values and (mostly trigonometric) operations. As a result, there is
no constructor function. Invoking a Math object
property or method adheres to the following syntax:
Math.propertyNameMath.method(param1[,param2])
Be sure to observe the uppercase “M” in the
Math object in script statements. All expressions
involving the Math object evaluate to or return a
value.
E |
LN10 |
LOG10E |
SQRT1_2 |
SQRT2 |
LN2 |
LOG2E |
PI |
abs() |
atan2() |
floor() |
pow() |
sin() |
acos() |
ceil() |
log() |
random() |
sqrt() |
asin() |
cos() |
max() |
round() |
tan() |
atan() |
exp() |
min() |
Read now
Unlock full access