Arithmetic on 2 output parameters

I manage to store values to output parameters using get numbers only. I can validate that only numbers are in the parameters. I want to validate that a value on screen equals the summation of the output parameters. I tried {parameter1} + {parameter2}, obviously it did not work.

How can I add parameters?

Thanks