dPaid = 143.22 和 b.ppTotal = 47.74。如果我简单地除以余数是0。 但是这个结果在 JAVA 中(以及在 excel 中使用 MOD)是 47.74.
(Math.abs(dPaid % b.ppTotal))