Presenting users score as a percentage?

I am trying to ascertain whether it is possible using variables if I can present a users score within a text component at the end of a lesson as a percentage instead of presenting the actual score itself.

Example - Currently we have it set up so it says something along the lines of “You scored 9 out of 12 questions correctly.” with the “9” showing from the Score variable we’ve created. However, we want the ability to change this to “You scored 75% in the assessment”…

Has anyone tackled something like this before and if so please can you provide some guidance?

Figured out a solution so all good!

For anyone curious, by creating a score variable and using the course attainment extension to only track correctly answered questions and linking it to said variable you can then display your score as a percentage.

1 Like