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

#1 2011-10-27 10:24:02

KrIsMa
Scratcher
Registered: 2011-09-20
Posts: 500+

round __ by __

the round blocks only rounds numbers to the closest whole.

this block can let you choose what number to round to.

round 17 by 10 = 20

round 12.62 by .1 =12.6

^.^ hope you understand my english is really bad XD

Last edited by KrIsMa (2011-10-27 10:24:11)


http://blocks.scratchr.org/API.php?user=KrIsMa&action=onlineStatus&online=http://i49.tinypic.com/2pzic0m.png&offline=http://i49.tinypic.com/r7p10n.png
The Scratch Team (and fellow scratchers!) is/are so nice!!!

Offline

 

#2 2011-10-27 15:10:38

efisher82
Scratcher
Registered: 2009-12-07
Posts: 100+

Re: round __ by __

KrIsMa wrote:

the round blocks only rounds numbers to the closest whole.

this block can let you choose what number to round to.

round 17 by 10 = 20

round 12.62 by .1 =12.6

^.^ hope you understand my english is really bad XD

We would probably call it round to, not round by. I support.


http://bit.ly/ApaYt4http://ow.ly/8Jemvhttp://fulltwist.net/wp-content/plugins/social-slider/icons/standard/youtube-32.png

Offline

 

Board footer