Math
Last updated
Was this helpful?
Last updated
Was this helpful?
Math provides static properties and methods for mathematical constants and functions.
For more information see: .
Euler's constant and the base of natural logarithms.
Natural logarithm of 10.
Natural logarithm of 2.
Base 10 logarithm of E.
Base 2 logarithm of E.
Ratio of the circumference of a circle to its diameter.
Square root of 1/2.
Square root of 2.
Returns the absolute value of a number.
Returns the arccosine (in radians) of a number.
Returns the arcsine (in radians) of a number.
Returns the arctangent (in radians) of a number.
Returns the arctangent of the quotient of its arguments.
Returns the smallest integer greater than or equal to a number.
Returns the cosine of a number.
Returns Enumber, where number is the argument, and E is Euler's constant, the base of the natural logarithms.
Returns the largest integer less than or equal to a number.
Returns the natural logarithm (base E) of a number.
Returns the greater of two (or more) numbers.
Returns the lesser of two (or more) numbers.
Returns base to the exponent power, that is, base exponent.
void
Returns a pseudo-random number between 0 and 1.
void
Returns the value of a number rounded to the nearest integer.
void
Returns the sine of a number.
void
Returns the square root of a number.
void
Returns the tangent of a number.
Euler's constant and the base of natural logarithms. Approximately 2.718.
Sample
Natural logarithm of 10. Approximately 2.302.
Sample
Natural logarithm of 2. Approximately 0.693.
Sample
Base 10 logarithm of E. Approximately 0.434.
Sample
Base 2 logarithm of E. Approximately 1.442.
Sample
Ratio of the circumference of a circle to its diameter. Approximately 3.14159.
Sample
Square root of 1/2. Equivalently, 1 over the square root of 2, approximately 0.707.
Sample
Square root of 2. Approximately 1.414.
Sample
Returns the absolute value of a number.
Parameters
Sample
Returns the arccosine (in radians) of a number.
Parameters
Sample
Returns the arcsine (in radians) of a number.
Parameters
Sample
Returns the arctangent (in radians) of a number.
Parameters
Sample
Returns the arctangent of the quotient of its arguments.
Parameters
Sample
Returns the smallest integer greater than or equal to a number.
Parameters
Sample
Returns the cosine of a number.
Parameters
Sample
Returns Enumber, where number is the argument, and E is Euler's constant, the base of the natural logarithms.
Parameters
Sample
Returns the largest integer less than or equal to a number.
Parameters
Sample
Returns the natural logarithm (base E) of a number.
Parameters
Sample
Returns the greater of two (or more) numbers.
Parameters
Sample
Returns the lesser of two (or more) numbers.
Parameters
Sample
Returns base to the exponent power, that is, base exponent.
Parameters
Sample
Returns a pseudo-random number between 0 and 1.
Returns: void
Sample
Returns the value of a number rounded to the nearest integer.
Parameters
Returns: void
Sample
Returns the sine of a number.
Parameters
Returns: void
Sample
Returns the square root of a number.
Parameters
Returns: void
Sample
Returns the tangent of a number.
Parameters
Returns: void
Sample
Type
Type
Type
Type
Type
Type
Type
Type
x ;
Returns:
x ;
Returns:
x ;
Returns:
x ;
Returns:
y ;
x ;
Returns:
x ;
Returns:
x ;
Returns:
x ;
Returns:
x ;
Returns:
x ;
Returns:
value ;
Returns:
value ;
Returns:
base ;
exponent ;
Returns:
x ;
x ;
x ;
x ;