Quiz - Score Percent

Feb 24, 2014

Hi All,

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.

Thank you for any/all help/suggestions

Harri

7 Replies
Rebecca Fleisch Cordeiro

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.

Reuben Harper

Still no fix within the Storyline app itself. Including a way to round results scores within Storyline (to 1 or no decimal point) would be appreciated. Some users comment on the decimal points, as it can look a bit odd if it is not rounded. Is it feasible to add a decimal points adjuster for the quiz score percent variable? E.g. as a standard setting on the results slide settings ribbon, or within the module variables screen, implemented in a way that it rounds this after it calculates the number)? Sometimes a module may have more than one such results slides, and in that case, the two variables will have different names e.g. the second will may have a '2' in the variable name by default to keep it unique from the other variable.