Forum Discussion
How to add two number variables together after a User input their own numbers in the number field.
for example, I need to get the percentage of the below highlighted by dividing the 140 / 1000. It works when I add but I cannot seem to find how to divide these numbers and then x 100 to get the percentage. the below numbers are number input fields the user will enter, the ones above are autopopulated by those numbers.
Hello Protecht Academy,
Happy to help!
After creating a variable which will store the correct answer, I added the following two triggers to calculate the answer for the equation under Division 1:
Then I added an onscreen variable reference for the variable that I created ("articulate_test").
This allowed the correct answer for the equation to appear after the learner clicks on calculate.
I've attached a copy of your edited project file so you can see all of the changes that I made to your slide.
Let me know if you need anything else!
Related Content
- 10 months ago
- 10 months ago
- 10 months ago
- 10 months ago