negative number returned when subtracting
Hello wondering if anyone can help me.
I am performing a calulcation on two numbers (a - b) that are not always the same and i get returned a negative number which is incorrect.
For example if a = 10, and b = 7 then 10 - 7 = 3, but if a = 7, and b = 10 then 7 - 10 = -3.
i am just wondering how in asp code i can fix it so that the result would always be 3 and not -3
Any help would be appreciated