Calculation to correct a double negitive
Below is my calculation. If the in_amount is negative it doubles...
(in_amount = - 13.28) - (inpaidamount = 13.28) = - 26.53 not 0.
What is the best way to fix the calculation so it accommodates a negative amount?
If ( IN_isDLS ;
Round ( (IN_amount - INPaidAmount);2);
Round ( Invoice::INRemaining ; 2 )