Numerical

Add

5min
add operation overview the add operation performs addition between two numbers of type ( integer integer / double double / float float ) inputs & outputs \[i] first number integer integer / double double / float float this parameter represents the first addend \[i] second number integer integer / double double / float float this parameter represents the second addend \[i/o] result integer integer / double double / float float this parameter represents the result of the addition it can be used as both an input and output variable for example, if we want to increment, we could reuse the first number variable in the result field example usage drag a join, a numerical add, and a decisional action on the canvas declare 2 variables of type integer integer (firstnumber & secondnumber) to be used in the add operation set the default value of the declared variables firstnumber to 0 and the default value of the secondnumber to 1 connect the start to the join action and the join action to the decisional connect the decisional action to the add action & configure the first case in the decisional (case i firstnumber <10) connect the decisional action to the stop action & configure the second case in the decisional (case ii firstnumber >=10) save & run the process and then check the instance to see the output as seen in the result of the process, the secondnumber with value "1" was added to the firstnumber 10 times (until the first condition in the decisional was met) important notes the variables of the add actions are of type object object allowing additions to be performed for different number types ( integer integer / double double / float float ) depending on the use case needs