Mathematical functions
Mathematical functions are built-in functions and they can be called from scripts.
Function | Usage |
---|---|
Absolute value The Absolute Value function returns the absolute value of the expression. |
|
Add The Add function returns the sum of the expressions. |
|
Divide The Divide function returns the quotient of the expressions (the first divided by the second. |
|
Floor The Floor function returns the highest integer that is less than the specified expression. |
|
Modulo The Modulo function returns the remainder of dividing the first expression by the second. |
|
Multiply The Multiply function returns the product of two expressions. |
|
Round The Round function returns the value of the expression, rounded to the (optional) number of decimal places or to the nearest whole number. |
Example:
Returns: 299.78 Returns: 300 |
Subtract The Subtract function returns the difference of two expressions (the second subtracted from the first). |
|