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

#1 2010-10-30 19:31:05

Gramurder
Scratcher
Registered: 2009-04-06
Posts: 1

Variables, brackets.

I want to have my amount of time divided by 2, then multiplied by 50. Unfortunately, it just divides my amount of time, by 100. Am I missing something blatantly obvious, or is this a genuine problem?

Offline

 

#2 2010-10-30 19:37:34

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: Variables, brackets.

Do this: (((Time) / (2)) * (50))  (Those are Scratch blocks)

Last edited by Jonathanpb (2010-10-30 19:38:00)


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#3 2010-10-30 22:14:23

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Variables, brackets.

(((Time) / (2)) * (50)) is the same thing as ((Time) * (25)), so you can use that instead. :)

EDIT: *sigh*, that [blocks] glitch is SO annoying....

Last edited by nXIII (2010-10-30 22:15:08)


nXIII

Offline

 

Board footer