In this video, I’ll show you two solutions to remove the decimal digits in a quiz score on the quiz results slide in Articulate Storyline 360.
The problem: Decimal digits
But, first, let’s take a look at the problem. Now, I have here a quiz with six question slides and results slide. Now, let’s preview this quiz, so I’ll click “Preview This scene” and now Articulate Storyline will preview my quiz. So, I’ll click on next and the first answer is right, so the first three questions I will answer correctly, and the four answers I will answer incorrectly. So, I have two correct answers and four incorrect answers. And if I click “Submit”, we will jump to the quiz results slide and see what happens.
A solution with triggers in Storyline
So on the next step is to create another trigger where we subtract one from the floorscore variable, when this variable changes, just as long as the variable floorscore is greater than the default Articulate Storyline score. So let’s create this variable. So what we’ll do is adjust the variable floorscore. So the floorscore variable, and what we will do now is we’ll subtract one from floor score. When the timeline starts on this slide, where when the variable changes, Oh, let me see where it is. Here are “Variable changes”, and it will be floorscore. And we also create a condition. So the condition will be if our floorscore variable is greater than, and this won’t be a value but a variable. And let’s see where it is. A “Results.ScorePercent” we all going to use and take up.
Now, if our Storyline score is a 33.33%, what we saw in the example, Storyline subtracts one from floorscore until it reaches 33 and then floorscore is not greater anymore than the Storyline quiz variable. And the trigger will not be executed again. So what we can do now is that on the results slide, we can change the reference to a preferable result.score percent into floorscore. Now I will change this reference so we can see what it does. So I’ll add floorscore here and now let’s preview the module and answer the questions again. So I’m in the Storyline preview again. So let’s answer the first two questions correctly, and the other four answers incorrectly and six, and I’ll submit and jump to the results slide and what you see here. This is the standard Storyline quiz score that shows 33.33%.