Page 1 of 1

Invert a number

PostPosted: Tue May 24, 2016 10:42 am
by Archie323
ok so Ive been thinking, is there anyway to invert a number which is in a variable, like if the varible is set go from 0-1000 is there a way to invert it somehow to output to start at 1000 and go to 0?

Re: Invert a number

PostPosted: Tue May 24, 2016 10:46 am
by Bl4ckSh33p
does it work if you just multiplicate the value with -1?

Value * (-1) = invertedValue?

Im a total math noob so dont be mad if its wrong. ;)