The OpusScript Math functions are:
Function Name: | Description: |
Returns the absolute value of a number | |
Returns the arccosine of a number (in radians) | |
Returns the arcsine of a number (in radians) | |
Returns the arctangent of a number (in radians) | |
Returns the angle from the X-axis to a point | |
Rounds a number up | |
Returns the cosine of a number | |
Returns Euler’s constant e (approx. 2.718) | |
Returns E to the power of the argument passed | |
Rounds a number down | |
Returns the natural log of 10 (approx. 2.303) | |
Returns the natural log (base E) of a number | |
Returns the base 10 log of E (approx. 0.434) | |
Returns the larger of two values | |
Returns the smaller of two values | |
Returns PI (approx. 3.1415) | |
Returns the first parameter raised to the power of the second | |
Returns a pseudo-random number between 0 and 1 | |
Rounds to the nearest integer | |
Returns the sine of a number | |
Returns the square root of a number | |
Returns the square root of ½ (approx. 0.707) | |
Returns the square root of 2 (approx. 1.414) | |
Returns the tangent of a number |