Forum Discussion
Remove decimal places in Quiz Score Percent
My quiz has 6 questions. If I get 5 out of 6 correct, how can I get the score to show a whole number? I am still quite new and have tried one of the Java codes I found but it doesn't seem to work.
I need the score to be sent to my LMS as well.
3 years ago someone posted that they were going to look into it. Has that happened?
3 Replies
- JudyNolletSuper Hero
Hmm. I didn't realize that Storyline submits the percentage but not the points.
Here is the question-level info submitted to the LMS/LRS: Storyline 360 Sends This Quiz and Survey Data to an LMS. Depending on the LMS, you might be able to pull a report that indicates how many questions each person answered correctly.
Otherwise, you'd have to use a variable to track the number of correct answers, and then send that to the LMS. Here's an article about that: Storyline 360: How to Send the Value of a Variable to an LMS/LRS.
- NikkiClaytonCommunity Member
Thanks Judy. I seem to only be getting the pass % score sent to my LMS. Is there a way to get the points sent as well?
We wanted to have leaderboards set up as we have a number of quizzes for Ethics Week and one is a jeopardy style game so we will want to track the amount they accumulate but that might not actually be possibly which is such a shame.
- JudyNolletSuper Hero
JavaScript is the only way I know of to adjust a variable to a whole number. However, I've never done that, so I can't help with that.
Here is an alternative that I like to use:
- In FORM VIEW on each question, change the points to 1 (instead of the default 10).
- On the Results slide, delete the objects related to showing the pass % and score %.
- Set up the results to show something like this: "You scored [# correct] out of [# of questions]. To pass, [# to pass] must be answered correctly."
In other words, tell the user how many questions they need to answer correctly, and don't bother with the %. (The % data will still be submitted to the LMS.)
Related Content
- 3 months ago