The Math Subtract component allows any number of non-array values to be provided as inputs. Each cycle of execution it simply starts with the first value and consecutively subtracts all values together, and provides the total value as its single output value. The operation simply adds x1 - x2 - ... xn.
NOTE: It does make a difference which number is first. If you simply want to get the negative value of all numbers, start with connecting a constant value of 0, followed by your dynamic variables as consecutive inputs.
Inputs: 0
Input Name:
Description:
Outputs: 1
Output Name:
Description:
Result
The result of the computation, whereby all input values are consecutively subtracted, starting with subtraction of the second value from the first value. For example, computation of 3 input values of 4, 5 and 6 would be 4-5-6 = -7