Javascript Reference
Grammar > Math
javascript Math tan( )
Returns the tangent (in radians) of the number passed as a parameter.
javascript Math sqrt( )
Returns the square root of the number passed as a parameter.
javascript Math sin( )
Returns the sine (in radians) of the number passed as a parameter.
javascript Math round( )
Returns an integer that follows rounding rules. If the value of the passed parameter is greater than or equal to x.5, the returned value is x + 1; oth
javascript Math random( )
Returns a pseudo-random number between 0 and 1. To calculate a pseudo-random integer between zero and another maximum value, use the formula:
javascript Math pow( )
Returns the value of the first parameter raised to the power of the second parameter.
javascript Math min( )
Returns the lesser value of the two parameters.
javascript Math max( )
Returns the greater value of the two parameters.
javascript Math log( )
Returns the natural logarithm (base e) of the number passed as a parameter.
javascript Math floor( )
Returns the next lower integer that is less than or equal to the number passed as a parameter.
javascript Math exp( )
Returns the value of Euler's constant to the power of the number passed as a parameter.
javascript Math cos( )
Returns the cosine of the number passed as a parameter.
javascript Math ceil( )
Returns the next higher integer that is greater than or equal to the number passed as a parameter.
javascript Math atan2( )
Returns the angle (in radians) of angle formed by a line to Cartesian point x, y.
javascript Math atan( )
Returns the arc tangent (in radians) of the number passed as a parameter.
1-15 / 27 >

Powered by Linode.