Hi
I add some new function in my mathprogram, and it didn't work online,
after some hour i find the reseons
in my program round give allways zero when rounded a value 10,10 gives 0
i use round in other parts of program and there it seems to work, This is
first time I use round on a value comming from a array.
I had remove all sprite and code except the error one for showing this bug
http://scratch.mit.edu/projects/klastest/737923
Hit the time-glass to start when downloaded it split left table in
before and a after part, But online it onlie give zeros in the other arrays.
I hope this will make some never verion of webengine to make same result as the downloaded version.
Offline
Yes, i hope scratch team will make it work the same on server and clients, is this the place too reports bugs??
Offline
klasbricks wrote:
Yes, i hope scratch team will make it work the same on server and clients, is this the place too reports bugs??
Yes, this is the place to report bugs...I'll take a look at it, thanks.
Okay, it looks like it is a problem for European style floating point numbers (those with a comma for a decimal marker). I have entered it into the bug system. Thanks for pointing this out.
fanofcena wrote:
Just add a plz dwnlod in comments and all the community will understand (all my Projects have that tag)
But it's so much nicer when a project works online too. To me, it's worth the extra effort because I know more people will give it a try
Offline
Thanks adding the bug,
More testing
Now I pinpoint the error i had in my math program when uploaded it.
Jave engine handles only 9.9 and treat 9,9 as a no number if value is precalculate in a array they only get out zeros. Work around always use 9.9
On scratch on computer both 9.9 and 9,9 is treaded as numbers.
Test program to see the bug:
http://scratch.mit.edu/projects/klastest/739323
click on program code to run it.
I always test my stuff from web many times it works different often, timing problems, but rewrite code to better making it work on both platfrom, but in case it stopped total working and it was harder.
Offline