Forum Discussion
Results Slide Percent no Decimal Points
All,
I have a results slide which pulls in data from several other results slide.
The problem is that the results percentage is showing the percentage with decimal points. From a cosmetic point of view I would like the percentage rate to be rounded up or down to the nearest full number.
Is there a way to do this?
Thank you in advance
Rich
- EdGenCommunity Member
Absolutely Ashley. I'm using SumTotal as my LMS and the issue is that the quiz is reporting scores with decimals such as 13.33% instead of 13%. Although I can round out the score for the user on the results slide, Storyline still reports the percent with decimals.
Hi Ed,
Within Storyline I know people round using Javascript to change the slide variable listed but as far as reporting that to your LMS - I'm not certain of the steps there and Javascript is not something I can offer support for.
You may want to review the method in this thread about rounding without Javascript - to see if something like that would work for you.
Hi Mike,
I'm not certain that folks are still subscribed here, so you may want to reach out to Pauly or others using the "contact me" button on their profile to see if they're able to offer assistance around this issue.
- MikeDelaneyCommunity Member
Hi Ashley, thanks for reaching out. I actually figured this one out and am
planning on posting a play-by-play how to in the near future for people
like me who need the extra visuals and steps.Again, thanks.
Mike
- TeresaVanderposCommunity Member
Hey Mike, was curious if your non-javascript solution was similar to Tony's or not, would be curious to know what you did...
Love a play by play - so looking forward to seeing it!
- MikeDelaneyCommunity Member
Thanks for the update, Tony!
Glad that this thread was able to assist you as well Sherrie. Thanks for popping in :)
- TonyChilversCommunity Member
As Pauly said :)
- NatashaBomba-Community Member
Any thoughts on why this would have worked on one course and not the other? I copied and pasted the slide into the new course but can't get it to work.
- PaulyBarnes1Community Member
If you copy and pasted there is a good chance It might of made another Results.ScorePercent variable which would confuse the trigger.
Hi Natasha,
Take a look at the Variables window to see if you've got a second instance of the Results.ScorePercent there. If you need extra help, feel free to share your .story file here so the community can take a peek at what you've got set up so far!