Discuss Scratch
- Discussion Forums
- » Questions about Scratch
- » Round Block
- meepeygamer567
-
500+ posts
Round Block
It basically rounds the inputted number to the nearest whole number. It’s math, Literally.
- Spentine
-
1000+ posts
Round Block
If you have a number that is not an integer, (example: 0.32, 52.31, -2.13) then it will return an integer that is the closest to the number in it.
3.21 becomes 3
51.62 becomes 52
-0.4 becomes 0
1.5 becomes 2
you get it.
3.21 becomes 3
51.62 becomes 52
-0.4 becomes 0
1.5 becomes 2
you get it.
- Prince_Toast
-
96 posts
Round Block
Yes. I'm on a high level in math, I get A's. I just inputted 6 and thought it'd zoom up to 10
- musicROCKS013
-
1000+ posts
Round Block
To round to the nearest 10 do this: Yes. I'm on a high level in math, I get A's. I just inputted 6 and thought it'd zoom up to 10
((round ((Input) / (10))) * (10))
- lukaslakas
-
3 posts
Round Block
I already know rounding off numbers. Here:
Start by rounding off the 0.5, then count on your fingers.
0.5, 0.6, 0.7, 0.8, 0.9, 1.0.
The answer is 1.
Hello everyone! I won't necropost again! I'm sorry for necroposting, HCJSCT! I was offline while my iPad/Mac is gone/not active. Thank you for saying: “Everything's good! Just don't do it again.” Thanks HCJSCT for saying that! I won't do it again! By: Lukas
(round (rounded number))
set [ rounded number v] to [0.5]
Start by rounding off the 0.5, then count on your fingers.
0.5, 0.6, 0.7, 0.8, 0.9, 1.0.
The answer is 1.
Hello everyone! I won't necropost again! I'm sorry for necroposting, HCJSCT! I was offline while my iPad/Mac is gone/not active. Thank you for saying: “Everything's good! Just don't do it again.” Thanks HCJSCT for saying that! I won't do it again! By: Lukas
- ththorn
-
41 posts
Round Block
i cant believe it took me three years to learn this It basically rounds the inputted number to the nearest whole number. It’s math, Literally.
- Discussion Forums
- » Questions about Scratch
-
» Round Block