Grammar >
Math
javascript Math Description
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, th
javascript Math E
Returns Euler's constant.
javascript Math LN2
Returns the natural logarithm of 2. It is 0.6931471805599453
javascript Math LN10
Returns the natural logarithm of 10.
javascript Math LOG2E
Returns the log base-2 of Euler's constant.
javascript Math LOG10E
Returns the log base-10 of Euler's constant. It is 0.4342944819032518
javascript Math PI
Returns the value of .
javascript Math SQRT1_2
Returns the square root of 0.5.
javascript Math SQRT2
Returns the square root of 2.
javascript Math abs( )
Returns the absolute value of the number passed as a parameter.
javascript Math acos( )
Returns the arc cosine (in radians) of the number passed as a parameter.
javascript Math asin( )
Returns the arc sine (in radians) of the number passed as a parameter.
javascript Math atan( )
Returns the arc tangent (in radians) of 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 ceil( )
Returns the next higher integer that is greater than or equal to the number passed as a parameter.
1-15 / 27
>
Powered by Linode.