Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Change numbers into negative and vice versa.
- Quayl
- Scratcher
85 posts
Change numbers into negative and vice versa.
Hello, space quail seeks help.
For my newest project, I need to change positive numbers into negative numbers and vice versa. How would I do this with a script?
For my newest project, I need to change positive numbers into negative numbers and vice versa. How would I do this with a script?
Space Quail sees everything, Space Quail knows everything, Space Quail can do anything, Space Quail can help you.
- amgames
- New to Scratch
100+ posts
Change numbers into negative and vice versa.
((0) - (number))
amgames
programmer ~ artist in training ~ pianist
programmer ~ artist in training ~ pianist
- Quayl
- Scratcher
85 posts
Change numbers into negative and vice versa.
Thanks, Now my zero G simulator will work!((0) - (number))
Space Quail sees everything, Space Quail knows everything, Space Quail can do anything, Space Quail can help you.
- RPFluffy
- Scratcher
1000+ posts
Change numbers into negative and vice versa.
That is some super simple math man, do you not understand the concept of:
or
((0) - (number))
or
((number) * (-1))
Nothing Is EVER 100%, that is just an assumption.
Some important links: Here and here or need help click Here. Eats followers, Loves helping people.
My “..” and “…” are not spelling mistakes, it means that they are ways of telling someone that I can continue more about it and that the sentence isn't ended the best way. I like putting new indents and lines so I can split up what I am talking about.
Some important links: Here and here or need help click Here. Eats followers, Loves helping people. Check this MMO out! Kiwi = Support WHAT THAT'S IMPOSSIBLE: Through the drop down ;)if <> :: control cstart
else :: control
end
- 110Percent
- Scratcher
100+ posts
Change numbers into negative and vice versa.
That is some super simple math man, do you not understand the concept of:((0) - (number))
or((number) * (-1))
Maybe he's younger, and he hasn't learned the principle of multiplying numbers by negatives.
Or, maybe he's just a little new to Scratch and doesn't know how to do that.
Please try to be a little more understanding of others, RPFluffy. Thank you.
- Discussion Forums
- » Help with Scripts
- » Change numbers into negative and vice versa.