Forum Discussion
TerryMcDonald
12 years agoCommunity Member
A Solution to rounding in Storyline – without using Javascript
Normal
0
false
false
false
oNotPromoteQF />
EN-US
X-NONE
X-NONE
...
MiguelRamos
Community Member
Hi Radoslaw... I'm confused how that works, that's just adding 1 or subtracting 1. Thanks for sharing, big help.
JeffForrer
5 years agoCommunity Member
Quite genius actually. It does add or subtract one, but does it while the condition is true. So in the add case, it adds one until the condition "rounded < original_score" is not true anymore. So in the case of 13.76, it keeps adding a whole number 14 times, to give you 14. If you change the "original_score" variable to any decimal number, you can see that value change.
- PamelaFunk-839c3 years agoCommunity Member
I am not a numbers person at all. What if 13.76 is not the original score? The score changes depending on quiz takers answers.