Variables problem!

Jul 13, 2016

Hello, everyone!

Does anybody know how to avoid rounding of variable in SL2.

Example: 10/10 =1, 1/10 =0.1, 0.1/10 = 0.01, 0.01/10 = 0.

                 5/3=1.67, 1.67/3=0.56, 0.56/3=0.19, 0.19/3=0.06...0.

It's very needed to complete my calculator project.

5 Replies
Crystal Horn

Hey there Alex.  It is expected behavior that number variable references are rounded to 2 decimal places.  I see how you would like to be able to extend those decimal places for your calculations-- would be willing to submit a feature request for our development team to understand why that's important for you?  

I couldn't give you any specific help with JavaScript, but worth a shot trying a search to see if someone has accomplished that function.

This discussion is closed. You can start a new discussion or contact Articulate Support.