I'm working on a script where I need to switch number from plus to minus or otherwise, and add +1 or -1 according to if it's minus or plus. now I know I can check with if vx < 0 then ...
but how can I do it with mathematical formula?
This is what i've tried, but it worked out only for +
vx = (vx + (vx/vx)) * (-1)