• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Math Object

Math Object

Method Description Parameters
abs(number ) Calculates the absolute value. number , any number or expression
acos(number ) Calculates the arc cosine. number , a number from –1 to 1
asin(number ) Calculates the arc sine. number , a number from –1 to 1
atan(number ) Calculates the arc tangent. number , a number
atan2(y , x ) Calculates the arc tangent. y , the y coordinate of a point x , the x coordinate of a point
ceil(number ) Returns the closest integer that is greater than or equal to the number . number , a number or expression
cos(number ) Calculates the cosine. number , an angle in radians
exp(number ) Calculates the constant e to the power of the specified number . number , the exponent
floor(number ) Returns the closest integer that is less than or equal to the number . number , a number or expression
log(number ) Calculates the natural logarithm. number , a number or expression
max(x , y ) Returns the larger value of the two specified parameters. x , a number or expression y , a number or expression
min(x , y ) Returns the smaller value of the two specified parameters. x , a number or expression y , a number or expression
pow(base , exponent ) Calculates the value of base raised to the power of exponent . base , a number or expression exponent , a number or expression
random() Returns a random number between 0 and 1. 
round(number ) Rounds a number to the nearest integer. number , a number or expression
sin(number ) Calculates the sine. number , an angle in radians
sqrt(number ) Calculates the square root. number , a number or expression
tan(number ) Calculates the tangent. number , an angle in radians
Property (Constant) Description
E Euler’s constant; the base of natural logarithms
LN2 Natural logarithm of 2
LN10 Natural logarithm of 10
LOG2E Base 2 of logarithm of e
LOG10E Base 10 of logarithm of e
PI Ratio of the circle circumference to its diameter
SQRT1_2 Reciprocal of the square root of 1/2
SQRT2 Square root of 2



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint