Math Operation
Provides the ability to perform basic math computations such as addition, subtraction, multiplication, division, and modulus.
Privileges
Normal
Input Parameters
Name | Type | Required | Description |
---|---|---|---|
Number0 | Number | Yes | The first number in the configured operation. |
Operation | Selection | Yes | The operation to perform from one of add, subtract, multiply, divide, or modulus. |
Number1 | Number | Yes | The second number in the configured operation. |
Output Parameters
Name | Type | Description |
---|---|---|
NumberResult | Number | The results of the computation. |
Result | Number | Returns a success value of zero or any value other than zero to indicate failure. |
Example Input Parameters
Name | Type | Required | Example |
---|---|---|---|
Number 0 | Number | Yes | 5 |
Operation | Selector | Yes | Subtract |
Number 1 | Number | Yes | 3 |