I'm trying to work with some maths, and I can't get a negative number to act as a positive number. I have these numbers in different variables;
330 3106 -2776
I need 330, 3106 and 2776 so I can do this statement (obviously they will be vars though!);
if((2776 + 330) == 3106){
}
Is there a shorthand or quick method I can use to do this inside of my if statement? Id rather not have to make more variables to do this...
Thanks