Forum Discussion
Results Slide Percent no Decimal Points
I have some javascript code that may probably work for this scenario. Take the code and put it into an Javascript executable trigger on the results page and have it start first.
var player = GetPlayer();
var score = player.GetVar("Results.ScorePercent");
var n = score.toFixed(0);
player.SetVar("Results.ScorePercent", n);
The non javascript workaround can be messy in your triggers pane on the results slide. However, here is another solution. Maybe someday Articulate will make a consideration and have decimals as an option.
- MikeDelaney10 years agoCommunity Member
Hi, I'm not a javascript guy and need some help on this, could someone walk me through the process of actually how to implement this? I'm sort of rusty using Storyline and would appreciate some screen shots.
best
Mike
- shashankkatiyar8 years agoCommunity Member
Hi Pauly,
Can you just provide a short of example assessment with this Js so that that would be very easy for me to incorporate it.