Integer Math Operation

Performs a math operation on two integers.

 

Input Arguments

 

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.

 

Return Arguments

 

3

Integer

Resultant Value

The result of the math operation.

 

Returned Status

 

SUCCESS

This command always succeeds.

 

Remarks

Be careful not to perform an invalid math operation, such as dividing by zero. Doing so will cause termination of the application.