Performs a math operation on two integers.
0 |
Integer |
First Value |
The first value. |
1 |
Math Operator |
Operation |
The math operation to perform. Choose from addition(+), subtraction(-), multiplication(*), divi- sion(/), and modulo(%). |
2 |
Integer |
Second Value |
The second value. |
3 |
Integer |
Resultant Value |
The result of the math operation. |
SUCCESS |
This command always succeeds. |
Be careful not to perform an invalid math operation, such as dividing by zero. Doing so will cause termination of the application.