Discuss Scratch
- littleBitsman1
-
Scratcher
2 posts
More Round block capabilities
It would be nice to have theI WANT THIS TOO (So badly!!!!)!(round ())be able to be to the nearest one, tenth, hundredth, etc. It would look like this:(round () to the nearest [tenth v]::operators)I hope you consider this as it would be very useful.
- Nambaseking01
-
Scratcher
1000+ posts
More Round block capabilities
Support, there may be workarounds but a lot of blocks have workarounds and are really needed. Coincidentally, I was just struggling on creating a script due to Scratch not having this feature. It would really help with creating average rounded variables (variables that round themselves correctly for another data source).
- Seth_Zaw
-
Scratcher
100+ posts
More Round block capabilities
I'm pretty sure this is a duplicate, but I can't find the link right now.
- Choppyfurballs64
-
Scratcher
2 posts
More Round block capabilities
I am still confused on how to make it round to the nearest hundredth
- fdreerf
-
Scratcher
1000+ posts
More Round block capabilities
No support. Why? A simple rule of thumb:
If the workaround is like the one for the move () steps block, make a new block. If it's like the one for “previous costume,” don't.
^ this opinion is wrong and anyone who quoted this has the right to be made fun of
If the workaround is like the one for the move () steps block, make a new block. If it's like the one for “previous costume,” don't.
^ this opinion is wrong and anyone who quoted this has the right to be made fun of
Last edited by fdreerf (Jan. 3, 2021 03:01:29)
- dominic305
-
Scratcher
500+ posts
More Round block capabilities
Support. It's much simpler than the workaround, especially for New Scratchers.
- p2Ep2E
-
New Scratcher
57 posts
More Round block capabilities
you don't have that in any programming language I know and scratch should teach you how to use those so no support. you always do it with * and then /.
- mybearworld
-
Scratcher
1000+ posts
More Round block capabilities
(removed due to it being wrong)
Last edited by mybearworld (Dec. 29, 2020 19:18:55)
- sportfan999
-
Scratcher
1000+ posts
More Round block capabilities
Support!Please be more constructive.
So that I can be constructive, I'm going to say:
No support. There are already effective workarounds provided.
- gosoccerboy5
-
Scratcher
1000+ posts
More Round block capabilities
No support — if you really require this function, you should be able to know how to do it on your own. Unless the ST has unlimited resources and time (Spoiler, they don't!
) I don't see a need for this sorry 
) I don't see a need for this sorry 
- PkmnQ
-
Scratcher
1000+ posts
More Round block capabilities
No support, the workaround is literally just simple math.
- IndianRuby718
-
Scratcher
100+ posts
More Round block capabilities
(round ( ) to 10^(0) :: operators) // this was my idea. 10^0 (1) is defaultSupport :D
- gosoccerboy5
-
Scratcher
1000+ posts
More Round block capabilities
Last edited by gosoccerboy5 (Nov. 28, 2020 02:57:29)
- awesome-llama
-
Scratcher
1000+ posts
More Round block capabilities
Nah. There's another topic like this that has a lot more discussion. No supportYou sure?
…and here it is!
Access to scratch.mit.edu was denied
You don't have authorisation to view this page.
HTTP ERROR 403
Maybe it's supposed to be the other way around and you meant to post on the other topic, because this one is older, going by the topic URL.
- NanoPIex
-
Scratcher
500+ posts
More Round block capabilities
It would be nice to have theXD bro, tenth is a fraction.(round ())be able to be to the nearest one, tenth, hundredth, etc. It would look like this:(round () to the nearest [tenth v]::operators)I hope you consider this as it would be very useful.
I think it should be more likeThat`s useful.(round () to the nearest ()::operators)so you can do things like(round (23) to the nearest (12)::operators)This would report 24
- gosoccerboy5
-
Scratcher
1000+ posts
More Round block capabilities
I posted that on another topic, maybe it got mergedNah. There's another topic like this that has a lot more discussion. No supportYou sure?
…and here it is!Access to scratch.mit.edu was denied
You don't have authorisation to view this page.
HTTP ERROR 403
Maybe it's supposed to be the other way around and you meant to post on the other topic, because this one is older, going by the topic URL.
- mj2213
-
Scratcher
11 posts
More Round block capabilities
I think it should be
(round () to the nearest[ tenth/hundrenth/thousandth/ten/hundred/thousand v] )
- PkmnQ
-
Scratcher
1000+ posts
More Round block capabilities
No support, the workaround is literally just simple math.I've changed my mind about this, full support. The workaround is simple, but it just feels wrong not having this block.

















