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
...
BobColeman
8 years agoCommunity Member
Why couldn't you perform your math functions followed by the division and multiplication at the end to get the whole number. You could also use a condition to say if the answer is >10, you subtract one of the 0's, still allowing you to use the program without JS.
ex. answerNum / 100000 x 10000000 if answerNum<10
then another trigger that says answerNum / 10000 x 10000000 if answerNum>=10
The concept should be true. I'd have to actually play with the numbers to make it work exactly, but these kinds of triggers are definitely doable.