Discuss Scratch
- Discussion Forums
- » Suggestions
- » Variables idea
- Inseparable_
- Scratcher
42 posts
Variables idea
The variables are currently like this:
Money : 14900000000
With the addition of a certain option, its will give this on the variable
Money : 14,9 Billions
or
Money : 14,9 Millards
- StrangeMagic32
- Scratcher
1000+ posts
Variables idea
I think this is a pretty nice idea, but I'm sure there is a workaround that could be set in place… sorta like this. The variables are currently like this:
Money : 14900000000
With the addition of a certain option, its will give this on the variable
Money : 14,9 Billions
or
Money : 14,9 Millards
forever
set [ Shown] to (join (round (((NotShown) / (join (length of (NotShown)) [0])) * (10))) []
end
(item (length of (NotShown)) of [Suffix] :: list) //this would go in but then it gets chopped off
I might be a little off but I think this is a good workaround to work off of.
Last edited by StrangeMagic32 (Oct. 27, 2018 12:24:58)
“Remember the worth of souls is great in the sight of God;”
- Doctrine and Covenants 18:10
I have since moved to @JollyWinter
- Za-Chary
- Scratcher
1000+ posts
Variables idea
Hmm…I would “neutral support”.
I assume that the workaround presented by @StrangeMagic32 works exactly as intended. Provided that it does, it is quite complicated, and requires creating a new variable and a new list, which is not favorable.
For the OP, I understand why you'd want to do this. If I get a number such as 1490000000000000, I can't easily read what number it is, and it would be much easier to read and understand “1.49 quadrillion”.
However, how would it display 1490000000000000 + 1? Would it automatically switch back to 1490000000000001? Or would it say “1.490000000000001 quadrillion”? Or would it just round off to “1.49 quadrillion”?
Although it would make things easier to read, I don't think there are any particular benefits or downsides to this suggestion.
I assume that the workaround presented by @StrangeMagic32 works exactly as intended. Provided that it does, it is quite complicated, and requires creating a new variable and a new list, which is not favorable.
For the OP, I understand why you'd want to do this. If I get a number such as 1490000000000000, I can't easily read what number it is, and it would be much easier to read and understand “1.49 quadrillion”.
However, how would it display 1490000000000000 + 1? Would it automatically switch back to 1490000000000001? Or would it say “1.490000000000001 quadrillion”? Or would it just round off to “1.49 quadrillion”?
Although it would make things easier to read, I don't think there are any particular benefits or downsides to this suggestion.
This is my forum signature! On a forum post, it is okay for Scratchers to advertise in their forum signature. The signature is the stuff that shows up below the horizontal line on the post. It will show up on every post I make.
I was a Scratch Team member from May 10th 2019 to October 29th 2021.
my notebook | scratch team essay | accessibility essay
- Inseparable_
- Scratcher
42 posts
Variables idea
I didn't really understand what it could do, but, do you say it can be done with this kind of variables that's it?I think this is a pretty nice idea, but I'm sure there is a workaround that could be set in place… sorta like this. The variables are currently like this:
Money : 14900000000
With the addition of a certain option, its will give this on the variable
Money : 14,9 Billions
or
Money : 14,9 Millardsforever
set [ Shown] to (join (round (((NotShown) / (join (length of (NotShown)) [0])) * (10))) []
end
(item (length of (NotShown)) of [Suffix] :: list) //this would go in but then it gets chopped off
I might be a little off but I think this is a good workaround to work off of.
- Inseparable_
- Scratcher
42 posts
Variables idea
Hmm…I would “neutral support”.
I assume that the workaround presented by @StrangeMagic32 works exactly as intended. Provided that it does, it is quite complicated, and requires creating a new variable and a new list, which is not favorable.
For the OP, I understand why you'd want to do this. If I get a number such as 1490000000000000, I can't easily read what number it is, and it would be much easier to read and understand “1.49 quadrillion”.
However, how would it display 1490000000000000 + 1? Would it automatically switch back to 1490000000000001? Or would it say “1.490000000000001 quadrillion”? Or would it just round off to “1.49 quadrillion”?
Although it would make things easier to read, I don't think there are any particular benefits or downsides to this suggestion.
Yes if it would be 1400000000001 it would mark 14 Billions but,
we could modify everything so that when we have the option its mark all the time the sign ~ (about), it will make it more logical.
Basically yes, it would say even if he had 14000000000000000001 it would say 1.4 Quatrillons.
Last edited by Inseparable_ (Nov. 7, 2018 14:15:55)
- StrangeMagic32
- Scratcher
1000+ posts
Variables idea
Yeah, I think it can, honestly I have not clue what it is anymore xD I didn't really understand what it could do, but, do you say it can be done with this kind of variables that's it?
But, I'm sure that it is possible
“Remember the worth of souls is great in the sight of God;”
- Doctrine and Covenants 18:10
I have since moved to @JollyWinter
- Inseparable_
- Scratcher
42 posts
Variables idea
Okay cool, but if I want to make sure my idea is safe, what can I do?
03h30? or 09:50 ? x')
03h30? or 09:50 ? x')
Last edited by Inseparable_ (Nov. 10, 2018 08:50:54)
- --_Nova_--
- Scratcher
1000+ posts
Variables idea
ooh, no support for not holding accurate valuesHmm…I would “neutral support”.
I assume that the workaround presented by @StrangeMagic32 works exactly as intended. Provided that it does, it is quite complicated, and requires creating a new variable and a new list, which is not favorable.
For the OP, I understand why you'd want to do this. If I get a number such as 1490000000000000, I can't easily read what number it is, and it would be much easier to read and understand “1.49 quadrillion”.
However, how would it display 1490000000000000 + 1? Would it automatically switch back to 1490000000000001? Or would it say “1.490000000000001 quadrillion”? Or would it just round off to “1.49 quadrillion”?
Although it would make things easier to read, I don't think there are any particular benefits or downsides to this suggestion.
Yes if it would be 1400000000001 it would mark 14 Billions but,
we could modify everything so that when we have the option its mark all the time the sign ~ (about), it will make it more logical.
Basically yes, it would say even if he had 14000000000000000001 it would say 1.4 Quatrillons.
- Inseparable_
- Scratcher
42 posts
Variables idea
No no no ! That would only be one option.
Last edited by Inseparable_ (Nov. 10, 2018 15:29:02)
- Discussion Forums
- » Suggestions
- » Variables idea