Hi,

This is a really easy question I'm sure but I can't figure it out in a simple way.

Let's say I have A + B = C

and A is 100 and B is -200 so C = -100

How can I get C as a positive number?

I need this for a rectangle drawing function I'm writing where the mouse down and mouse up coordinates can be positive or negative.

What I'm really looking for is the difference between A and B as a positive number.

Any help?

Thanks

T