The math Object
Properties Methods Method Description
     
   E    abs(number) Returns the absolute value of the number
   LN10    acos(number) Return the arc cosine of number in radians
   LN2    asin Return the arc sine of number in radians
   PI    atan Return the arc tangent of number in radians
   SQRT1_2    ceil(number) Rounds number up to the next highest integer
   SQRT2    cos(number) Returns the cosine of number, where number is an angle expressed in radians
   LOG2E    exp(number) Raises the value of E (2.7182...) to value of number
   LOG10E    floor(number) Rounds number down to the next lowest integer.
     log(number) Returns the natural logarithm of number
     max(number1,number2) Returns the greater of number1 and number2
     min(number1,number2) Returns the lesser of number1 and number2
     pow(number1,number2) Returns the value of number1 raised to the power of number2
     random()) Returns a random number between 0 and 1
     round(number) Rounds number to closest integer
     sin(number) Returns the sine of number, where number is an angle expressed in radians
     tan(number) Returns the tangent of number, where number is an angle expressed in radians


Date History Document Frames Location Navigation
String Math Image Form Anchor/Link Array
Radio CheckBox Option/Select Text/TextArea Submit Reset
Button PassWord Hidden Event Handler Keywords