dPaid = 143.22 and b.ppTotal = 47.74. If I simply divide the remainder is 0. But the result of this is in JAVA (and also using MOD in excel) is 47.74.
(Math.abs(dPaid % b.ppTotal))
dPaid = 143.22 and b.ppTotal = 47.74. If I simply divide the remainder is 0. But the result of this is in JAVA (and also using MOD in excel) is 47.74.
(Math.abs(dPaid % b.ppTotal))