Variable equation
Dec 21, 2022
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
3 Replies
Reset the total to 0, and add all the variables together to make the new total.
As an added bonus, the attached project shows how you can use a layer so you have to write all those triggers only one time.
Thank you so much!!