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

#1 2009-01-19 22:08:06

726961
Scratcher
Registered: 2008-11-26
Posts: 100+

Variable thingamagig

on http://scratch.mit.edu/projects/726961/385614 when the variable seconds gets to a very high point, it atomaticly goes to 1.12E9 or something around there. but this does not happen in presentation mode.


http://scratch.mit.edu/projects/726961/604658 play it now! or else...

Offline

 

#2 2009-01-20 06:47:16

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

Re: Variable thingamagig

The Java player is using Exponential notation there, which is a shorter way to display very large or small numbers.  So 1.12E9 really means 1.12 x 10^9 or 1120000000.   It is another annoying difference between the two environments.


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

Offline

 

#3 2009-01-20 17:08:40

726961
Scratcher
Registered: 2008-11-26
Posts: 100+

Re: Variable thingamagig

Paddle2See wrote:

The Java player is using Exponential notation there, which is a shorter way to display very large or small numbers.  So 1.12E9 really means 1.12 x 10^9 or 1120000000.   It is another annoying difference between the two environments.

Thanks Paddle2see, but i knew what it meant (adv. math) but is there a way to prevent this?


http://scratch.mit.edu/projects/726961/604658 play it now! or else...

Offline

 

Board footer