# Calculating how much money I spent? (23-73 gives

I'm a very simple person with basic math knowledge. Recently I run into huge problems when calculating how much I spent.

Sometimes to calculate how much I spent I do a calculation $final sum - start sum$. However at other times I do $start sum - final sum$.

When I take the absolute values, are these two values guaranteed to be equal? I've noticed sometimes when I do it one way, or the other way, I get different numbers. Is it because I made a mistake entering the numbers or it's not guaranteed that absolute values are equal?

Somehow I can't reproduce this error today but I just ran into it yesterday. When I did $start sum - final sum$ I got value $y$, but when I did $final sum - start sum$ I got value $z$. I forgot to write down the numbers.

• |x|=|-x|. so you must hv done some mistake – voldemort Jan 22 '15 at 18:37
• Thanks @voldemort. I've been actually running into this issue for the last few years. I'll try to write numbers down. Somehow when doing money calculations I think there is value $x$ for which this isn't true (because of cents I think). I'll try to get exact dollar and cent values next time. – bodacydo Jan 22 '15 at 18:39

So, let $X=startsum$ and $Y=finalsum$
Now, let $x$=100 and $y$=175
$$x-y=-75$$ $$y-x=75$$ $$|-75|=75$$