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

#1 2010-05-20 17:43:22

kcdscratch
Scratcher
Registered: 2008-09-19
Posts: 34

Glitch using operators and 1.68

I just discovered that if you try to add, subtract, multiply, or divide by 1.68 that when you click out of the box it turns to: 1.6800000000002. (or some number of zeroes close to that) has this happened to you?


http://scratch.mit.edu/projects/kcdscratch/1202796 check out my Sonic Advance 2 game!

Offline

 

#2 2010-05-20 17:45:37

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Glitch using operators and 1.68

That's never happened to me - I'm sorry, but I'm afraid I can't help you there.

Offline

 

#3 2010-05-20 17:46:54

kcdscratch
Scratcher
Registered: 2008-09-19
Posts: 34

Re: Glitch using operators and 1.68

coolstuff wrote:

That's never happened to me - I'm sorry, but I'm afraid I can't help you there.

can you at least test this and prove this isn't only happening to me?


http://scratch.mit.edu/projects/kcdscratch/1202796 check out my Sonic Advance 2 game!

Offline

 

#4 2010-05-20 17:50:11

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Glitch using operators and 1.68

kcdscratch wrote:

coolstuff wrote:

That's never happened to me - I'm sorry, but I'm afraid I can't help you there.

can you at least test this and prove this isn't only happening to me?

I did test it right before I posted that  smile  Apparently it IS just you  wink

Offline

 

#5 2010-05-20 17:52:59

kcdscratch
Scratcher
Registered: 2008-09-19
Posts: 34

Re: Glitch using operators and 1.68

coolstuff wrote:

kcdscratch wrote:

coolstuff wrote:

That's never happened to me - I'm sorry, but I'm afraid I can't help you there.

can you at least test this and prove this isn't only happening to me?

I did test it right before I posted that  smile  Apparently it IS just you  wink

have you changed the coding of scratch to allow for mesh? maybe this affected our results. please let me know!  smile


http://scratch.mit.edu/projects/kcdscratch/1202796 check out my Sonic Advance 2 game!

Offline

 

#6 2010-05-20 17:55:37

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Glitch using operators and 1.68

kcdscratch wrote:

coolstuff wrote:

kcdscratch wrote:


can you at least test this and prove this isn't only happening to me?

I did test it right before I posted that  smile  Apparently it IS just you  wink

have you changed the coding of scratch to allow for mesh? maybe this affected our results. please let me know!  smile

I have not changed the coding at all. My Scratch is 100% original - no modifications involved. Sorry, but I can't help you here.

Offline

 

#7 2010-05-20 17:56:32

kcdscratch
Scratcher
Registered: 2008-09-19
Posts: 34

Re: Glitch using operators and 1.68

coolstuff wrote:

kcdscratch wrote:

coolstuff wrote:


I did test it right before I posted that  smile  Apparently it IS just you  wink

have you changed the coding of scratch to allow for mesh? maybe this affected our results. please let me know!  smile

I have not changed the coding at all. My Scratch is 100% original - no modifications involved. Sorry, but I can't help you here.

thanks for the help! now i believe it may be a side affect of turning on mesh.


http://scratch.mit.edu/projects/kcdscratch/1202796 check out my Sonic Advance 2 game!

Offline

 

#8 2010-05-20 18:37:06

scmb1
Scratch Team
Registered: 2009-03-19
Posts: 1000+

Re: Glitch using operators and 1.68

I tried it and it happens to me. I have turned on mesh in the past, but it is not on now.


http://i48.tinypic.com/2z5pqad.png

Offline

 

#9 2010-05-20 19:00:36

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

Re: Glitch using operators and 1.68

I just tried it. It happened to me too, same with 1.89...  hmm


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

 

#10 2010-05-20 19:52:45

kcdscratch
Scratcher
Registered: 2008-09-19
Posts: 34

Re: Glitch using operators and 1.68

hmnwilson wrote:

I just tried it. It happened to me too, same with 1.89...  hmm

yeah, 1.89 turns to 1.8900000000001 (or some number of zeroes close to that amount) for me too.

just to see if my mesh theory is right, have you enabled mesh on your scratch yet or not?


http://scratch.mit.edu/projects/kcdscratch/1202796 check out my Sonic Advance 2 game!

Offline

 

#11 2010-05-20 20:09:07

demosthenes
Retired Community Moderator
Registered: 2008-02-19
Posts: 1000+

Re: Glitch using operators and 1.68

I've heard about things like this. There was an old thread for them a while ago. I bet the Scratch team will fix them in 2.0  smile


I've taken a long hiatus, but I still visit sometimes. Give me some time to answer any messages you post on my projects!

Offline

 

#12 2010-05-21 02:19:38

Chrischb
Scratcher
Registered: 2008-07-24
Posts: 1000+

Re: Glitch using operators and 1.68

Oh, this problem...  sad
How did you find it?  tongue  I only found it by reading troubleshooting threads...
....................................
A way around it would be to use a variable with a value of 1.68 or 1.89...


I fall: It's a tragedy. You fall: It's comedy.
Hmph enjoy your fall - I get a lovely spring... without pans of new leaves.

Offline

 

#13 2010-05-21 02:22:00

Wolfie1996
Retired Community Moderator
Registered: 2009-07-08
Posts: 1000+

Re: Glitch using operators and 1.68

Chrischb wrote:

Oh, this problem...  sad
How did you find it?  tongue  I only found it by reading troubleshooting threads...
....................................
A way around it would be to use a variable with a value of 1.68 or 1.89...

I just tested that, and there's a glitch in the variable, too... the updating string moves to the right  hmm  I suppose it's only aesthetic, but if it's in a project that requires the variables to show, that could be a problem...

Last edited by Wolfie1996 (2010-05-21 02:23:04)


"...Jargon - the practice of never calling a spade a spade, when you might instead call it a manual earth-restructing implement..." - Bill Bryson, Mother Tongue

Offline

 

#14 2010-05-21 06:18:03

Dazachi
Retired Community Moderator
Registered: 2009-09-12
Posts: 1000+

Re: Glitch using operators and 1.68

It happens to me too, both Wolfie's bug and kcdscratcher.


Dazachi, Retired Community Moderator
May also know me as OJACheung.

Offline

 

Board footer