My goal is to create a simple calculator by setting two user input boxes into variables, and using those variables to add/subtract/multiply/divide each other, saving it in a final result variable.

Thunkable iOS correctly calculates two values when it is subtracted, multiplied, or divided. However the addition function believes the variables are a String instead of an Int.

I tested the same function with numerical values and it calculates properly. I am not sure if the bug is with the typecasting or addition.

Any help would be appreciated.

Thanks!