This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2009-04-19 16:30:49

imacat
Scratcher
Registered: 2008-05-30
Posts: 100+

scratch blocks

Help! in Scratch, when i want the "wait () secs" block to be "wait (5.69) secs" it goes to "wait (5.6899999999999995) secs" !!!!! why does it do that?! please help!!!!!!!!


"if you say something is stupid, that means you are. Unless it's on AFV."
-imacat   btw, this is NOT a link to a website otherwise inaccessible. ;-)

Offline

 

#2 2009-04-19 16:55:45

technoguyx
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: scratch blocks

Weird. Are you sure you didn't accidentaly press 8 and held 9 (or maybe the key's stuck)?  tongue

EDIT: Wait, there's a 5 there... Does this ALWAYS happen when you type 5.69?

Last edited by technoguyx (2009-04-19 16:56:45)


http://getgnulinux.org/links/en/linuxliberated_4_78x116.png

Offline

 

#3 2009-04-19 19:57:32

hmnwilson
Scratcher
Registered: 2007-07-04
Posts: 1000+

Re: scratch blocks

Happens to me too. It also happens when the number before the decimal is 4, 6 or 7, but only those.

I have no idea what's going on, but they should fix it for 1.4.


I'm taking a break from Scratch until 2.0 comes out. Any messages sent between then and now probably won't be read - sorry.
(Oct. 20, 2011)

Offline

 

#4 2009-04-19 22:09:34

technoguyx
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: scratch blocks

Weird... It IS a glitch. A really weird one.


http://getgnulinux.org/links/en/linuxliberated_4_78x116.png

Offline

 

#5 2009-04-20 17:14:33

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: scratch blocks

Some fractional numbers can't be represented exactly by the binary coding that Scratch uses internally to store the number.  The result is that you get an approximate value when you try to display them.  It is a common problem with almost all computer languages.


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#6 2009-04-20 17:16:06

keroro645
Scratcher
Registered: 2008-06-07
Posts: 1000+

Re: scratch blocks

It isn't a problem is it? Unless it's like a math assignment or something I don't think it matters.

Offline

 

#7 2009-04-20 18:34:50

kimmy123
Scratcher
Registered: 2008-05-20
Posts: 1000+

Re: scratch blocks

HEY IT HAPPENED TO ME TOO WHEN I TRIED! weird glitch.


http://i.imgur.com/Mg3TPIE.pnghttp://i.imgur.com/rgyzXV5.pnghttp://i.imgur.com/685FKVd.pnghttp://24.media.tumblr.com/8678e33865664f328e1654109679cb92/tumblr_mm1qu3jGD71s8caito3_r1_250.gif

Offline

 

#8 2009-04-28 04:24:38

tomgalaxyzoo
Scratcher
Registered: 2009-03-28
Posts: 100+

Re: scratch blocks

Defentily not a serious glitch.


<forever> Galaxy Zoo!
smile  smile  smile  smile  woof woof!  smile  sad  big_smile  yikes  wink  hmm  tongue  lol  mad  roll  cool

Offline

 

#9 2009-05-12 18:14:53

imacat
Scratcher
Registered: 2008-05-30
Posts: 100+

Re: scratch blocks

yeah, i guess i was overreacting, but it is still annoying.


"if you say something is stupid, that means you are. Unless it's on AFV."
-imacat   btw, this is NOT a link to a website otherwise inaccessible. ;-)

Offline

 

Board footer