| Method |
Description |
|
abs( )
|
Returns the absolute value of a number. |
|
acos( )
|
Returns the arc cosine of an angle. |
|
asin( )
|
Returns the arc sine of an angle. |
|
atan( )
|
Returns the arc tangent of an angle. |
|
atan2( )
|
Returns the polar coordinates of a rectangular coordinates. |
|
ceil( )
|
Returns a number rounded to the smallest whole number greater than or equal to it. |
|
cos( )
|
Returns the cosine of an angle. |
|
Double( )
|
Returns a new double set to specified value. |
|
E( )
|
Returns E, the base of the natural logarithms. |
|
exp( )
|
Returns the exponential number e raised to a specified power. |
|
floor( )
|
Returns a number rounded to the largest whole number less than or equal to it. |
|
int( )
|
Returns the whole number of a given number. |
|
Integer( )
|
Returns a new integer set to specified value. |
|
isInfinite( )
|
Returns whether the specified value is a number infinitely large in magnitude. |
|
isNaN( )
|
Returns whether the specified value is Not-a-Number (NAN). |
|
log( )
|
Returns the natural logarithm of a value. |
|
Long( )
|
Returns a new long set to specified value. |
|
max( )
|
Returns the greater value of two values. |
|
min( )
|
Returns the lesser value of two values. |
|
PI( )
|
Returns PI, the ratio of the circumference of a circle to its diameter. |
|
pow( )
|
Returns a number raised to the specified power. |
|
remainder( )
|
Returns the remainder of two numbers. |
|
rnd( )
|
Returns a random number. |
|
round( )
|
Returns a real number to its nearest whole number. |
|
sin( )
|
Returns the sine of an angle. |
|
sqrt( )
|
Returns the square root of a number. |
|
tan( )
|
Returns the tangent of an angle. |
|
toBinaryString( )
|
Returns the binary string representation of a number. |
|
toHexString( )
|
Returns the hexadecimal string representation of a number. |
|
toOctalString( )
|
Returns the octal string representation of a number. |