Forum Discussion

PaulaCadogan's avatar
PaulaCadogan
Community Member
2 years ago

Variable equation

Hi all, 

I am making a simulator and need to add variables together to make a final total.

This works when the user inputs the info in correctly first go.

However, if they input the info, change their mind and change the info, the final total is being added to multiple times. 

What am i missing? I need it to be that only the most recent variable value is added to the total rather than each new one