If on your results slide you reference Score Percent can you round it to the nearest percentage so rather than having 80.66% you would see 81% ? I can't seem to see how to do it and, for various reasons, javascript will not be possible.
I've done this w/out Javascript, but it does require more triggers. So, depending on the quizzes you have, and the number of questions, you may need to add several triggers.
For the project I'm working on, there are lessons w/ quizzes w/ 3 questions, 4 questions, 5 questions, and 6 questions.
I've created a text variable called percent.
On the results slide, I've placed triggers on the Failure layer that adjust the percent variable = to the rounded number when the timeline starts if the results.score.percent variable = the not rounded number
For example, the 3 question quiz has two triggers
Adjust percent variable = 67 when the timeline starts if Results.ScorePercent = 66.66
Adjust percent variable = 33 when the timeline starts if Results.ScorePercent = 33.33
I've also changed the reference on the Failure layer to the %percent% instead of the default.
Not sure if this will work for you, but it's working for us...the client is happy.
Thank you for getting back to me. I was hoping there would be a setting somewhere as I currently have 4 x modules with 15 questions each so that's a lot of triggeres.
But thank you all the same, it may come in handy for future projects.
There isn't a setting to round up the percentages - but I've seen discussion in the forums of users's requesting it as a new feature if you'd like to add your voice too.
We currently have a feature request logged for the option to round up percentages to the nearest whole number. I'll add your vote and will be sure to update this discussion if this makes it to our feature roadmap.
6 Replies
Hi Harri,
I've done this w/out Javascript, but it does require more triggers. So, depending on the quizzes you have, and the number of questions, you may need to add several triggers.
For the project I'm working on, there are lessons w/ quizzes w/ 3 questions, 4 questions, 5 questions, and 6 questions.
I've created a text variable called percent.
On the results slide, I've placed triggers on the Failure layer that adjust the percent variable = to the rounded number when the timeline starts if the results.score.percent variable = the not rounded number
For example, the 3 question quiz has two triggers
Adjust percent variable = 67 when the timeline starts if Results.ScorePercent = 66.66
Adjust percent variable = 33 when the timeline starts if Results.ScorePercent = 33.33
I've also changed the reference on the Failure layer to the %percent% instead of the default.
Not sure if this will work for you, but it's working for us...the client is happy.
Hi Becky,
Thank you for getting back to me. I was hoping there would be a setting somewhere as I currently have 4 x modules with 15 questions each so that's a lot of triggeres.
But thank you all the same, it may come in handy for future projects.
Harri
NP...hope someone else jumps in with a better solution for you.
Hi Harri,
There isn't a setting to round up the percentages - but I've seen discussion in the forums of users's requesting it as a new feature if you'd like to add your voice too.
Coming here 8 years later just to ask if this was later implemented as a feature or someone found an easier way to solve same problem.
Thank you.
Hi Ayowale,
Welcome to the E-Learning Heroes community!
We currently have a feature request logged for the option to round up percentages to the nearest whole number. I'll add your vote and will be sure to update this discussion if this makes it to our feature roadmap.