Discuss Scratch
- Discussion Forums
- » Questions about Scratch
- » What Symbols can be put in cloud variables?
- Fudgecrumb
-
Scratcher
100+ posts
What Symbols can be put in cloud variables?
What symbols can you put in cloud variables?
- RL1123
-
Scratcher
1000+ posts
What Symbols can be put in cloud variables?
You can put a hyphen (-) and a decimal/full stop (.) in your cloud variables. However, these have to be part of an actual number, so you can't put something like 12.2.42.345.6 or 12-2-42-345-6. But you can put this in a cloud variable: -15.1
- Vadik1
-
Scratcher
500+ posts
What Symbols can be put in cloud variables?
You can put a hyphen (-) and a decimal/full stop (.) in your cloud variables. However, these have to be part of an actual number, so you can't put something like 12.2.42.345.6 or 12-2-42-345-6. But you can put this in a cloud variable: -15.1Also plus sign (+) and letter “e”. However, for those to work, the value the cloud variable is being set to has to internally be considered a number, not just a string of numeric characters. So as the result, something like this:
set [☁ cloud v] to ((2378568263569) * (3827928359825)) // multiplication produces a numberor this
set [☁ cloud v] to (round (join [] ((2378568263569) * (3827928359825)))) // number gets converted to string and then back to numberwill work:

, but this
set [☁ cloud v] to (join [] ((2378568263569) * (3827928359825))) // number gets converted to stringwill not.
- 960times10_5is106044
-
Scratcher
500+ posts
What Symbols can be put in cloud variables?
Infinity works too!
- Discussion Forums
- » Questions about Scratch
-
» What Symbols can be put in cloud variables?



