Hi
I have this line:
for (var j = 0; j<1; j = (j + 0.1).toPrecision(1))
I'm trying to set up this statement so I get 0, 0.1, 0.2, 0.3 up to the number 1.
At the moment I get 0, 0.1 and then nothing as if the result goes straight passed 1,
Simply using j = j + 0.1 produces rounding errors and I need the precise decimal place.
Any suggestions?