Hans, You are absolutely correct.I have indeed made the changes in rev. 778351, though this file itself have enough example but the explanation in InvoiceServices is wonderful.
Vikas On May 25, 2009, at 12:24 PM, Hans Bakker wrote:
it seems that in the statement below 0.00 is not the same as 0 (the scale is different) in the top of InvoiceServices.java is a nice story about this. not sure if using "equals" here is a good idea with BigDecimals, "compare" seems to be better. Regards, Hans On Mon, 2009-05-25 at 06:20 +0000, [email protected] wrote:+ if (estimatedShipCost.equals(ZERO)) {-- Antwebsystems.com: Quality OFBiz services for competitive rates
smime.p7s
Description: S/MIME cryptographic signature
