Forum Discussion
AndrewEgbert-c7
5 years agoCommunity Member
Need more than 2 decimal places.
Storyline 360 rounds numbers to 2 decimal places. This makes it very difficult, without resorting to JavaScript, to allow students to answer many basic math problems. I don't quite understand why ...
NicholasCWNg
7 days agoCommunity Member
I'm very late to this topic, but I found this thread when looking for my own issues where I wanted users to input a value that had 3 decimal places and check if they had input it correctly. My triggers would keep rounding the value to 2 decimal places and report the 3 decimal input as an incorrect answer rather than correct answer.
My solution to this is to create additional variables to multiply the input by 10 so that the expected answer becomes a 2 decimal place number, which can then be compared to the correct answer which I also multiplied by 10 within the triggers to check if the input was correct.