Discuss Scratch

StrangeMagic32
Scratcher
1000+ posts

Easier way to choose what to round to

EIephant_Lover wrote:

It is workaroundable, but your first thing didn't make sense, not to be rude XD What that would do is multiply 1514 by three, and since it only rounds to the ones place, it would just divide it by three and you'd get 1514.
honestly haven't used rounding in a long time… so I may be a little rusty with how it works xD
coder2045
Scratcher
1000+ posts

Easier way to choose what to round to

StrangeMagic32 wrote:

No support

all in all I would be very confused.

This makes more sense to me

((round ((1514) * (3))) / (3))

Not 100% sure if that is proper rounding, but I'd rather deal with that than

([round v] to the (1000) place (1514) :: operators


Also as far as I know this is easily work-aroundable
with
((round (() / ())) * ())
((round (() * ())) / ())
New Scratchers may not know that.
P.S.
([round v] to the (10) place (100) :: operators
sounds like you are rounding 10 to the 100th place.
EIephant_Lover
Scratcher
500+ posts

Easier way to choose what to round to

-snip-

coder2045 wrote:

P.S.
([round v] to the (10) place (100) :: operators
sounds like you are rounding 10 to the 100th place.
Are you talking to me, or them? What I suggested most recently was this, remember?
([round v] () to [0.1] ▲▼ place :: operators)
IntroducingW0ndr0us
Scratcher
100+ posts

Easier way to choose what to round to

This is a great idea.
Thumbs up!
coder2045
Scratcher
1000+ posts

Easier way to choose what to round to

EIephant_Lover wrote:

-snip-

coder2045 wrote:

P.S.
([round v] to the (10) place (100) :: operators
sounds like you are rounding 10 to the 100th place.
Are you talking to me, or them? What I suggested most recently was this, remember?
([round v] () to [0.1] ▲▼ place :: operators)
I was not talking to you. I can remember things, okay?
Luvexina
Scratcher
500+ posts

Easier way to choose what to round to

Support! This will make rounding much easier.
LuckyLucky8
Scratcher
39 posts

Easier way to choose what to round to

Support because this would be useful, but the block should be more like this:
(round (123) to the (10th v) place::operators)

Last edited by LuckyLucky8 (July 27, 2019 11:50:07)

EIephant_Lover
Scratcher
500+ posts

Easier way to choose what to round to

LuckyLucky8 wrote:

Support because this would be useful, but the block should be more like this:
(round (123) to the (10th v) place::operators)
I've noted why it can't be a dropdown in the OP.
EIephant_Lover
Scratcher
500+ posts

Easier way to choose what to round to

coder2045 wrote:

EIephant_Lover wrote:

-snip-

coder2045 wrote:

P.S.
([round v] to the (10) place (100) :: operators
sounds like you are rounding 10 to the 100th place.
Are you talking to me, or them? What I suggested most recently was this, remember?
([round v] () to [0.1] ▲▼ place :: operators)
I was not talking to you. I can remember things, okay?
It's okay, I wasn't trying to upset you
LuckyLucky8
Scratcher
39 posts

Easier way to choose what to round to

EIephant_Lover wrote:

LuckyLucky8 wrote:

Support because this would be useful, but the block should be more like this:
(round (123) to the (10th v) place::operators)
I've noted why it can't be a dropdown in the OP.
But what if something like this happened?:
(round to the (8) place (100)::operators)
Then what would the block do?

Last edited by LuckyLucky8 (July 27, 2019 16:18:50)

EIephant_Lover
Scratcher
500+ posts

Easier way to choose what to round to

I have revamped the OP to make the blocks' usage clearer.

Powered by DjangoBB