Use the Arithmetic command to perform mathematical calculations. The format of the command is:
<<destination>>equals<<left>><<operation>><<right>>
Example: NumberOfDaysInAMonth equals 7 days times 4 weeks
The mathematical expression (above) can be defined as follows:
NumberOfDaysInAMonth = <<destination>>
7 = <<left>>,
times (multiplied by) = <<operation>>
4 = <<right>>
From this window, the following parameters can be defined:
Field |
Description |
---|---|
Label |
Specifies the unique label of this process command. This label allows other commands to branch to this command. The label that you type here appears in the Label column on the EC Gateway Process window. |
Disable command |
Disabling the command allows temporary modification of the process statements. This allows for testing of the statements for error-free robustness. The command that has been disabled will not show in the script (.pfs) file. |
Destination |
Variable to store the result of the arithmetic operation. You can view and select a Count variable from a list of available variables by clicking in this field. |
Left |
You can view and select a variable from a list of available Count variables by clicking in this field. |
Operator |
Arithmetic operation to be performed. You can view and select a variable from a list of available variables by clicking in this field. The choices include: +, --, *, and /. |
Right |
You can view and select a variable from a list of available variables by clicking in this field. There are two choices: Count, or Constant; Constant opens the Constant Value window. Enter the constant numeric value. |