Hello, i'm just wondering. Is it possible to double a intvalue.Value?
✓ ANSWER ACCEPTED
How would i double a intvalue?
1 answer
✓ Accepted answer
int = (int *2)
When doing math, i highly suggest using parenthesis. Order of operations and stuff. Dont do int = int *2 +1, put parenthesis around what you want to do first, in = (int *2) +1, then it adds 1 after its multiplies integer by 2.
1 comment
0
okay.
This discussion is preserved as it was. New answers, comments, and votes are closed.

5 comments
intvalue.Value += 5
Doesn't that just add 5 to the value?
Cant you just do intvalue.Value * 2?
Ayyy, that worked! Thanks!
int *= 2 also works