From: Ashley J G. <agi...@pu...> - 2007-09-03 12:29:17
|
On Mon, 3 Sep 2007, R. Quansah wrote: > Hi, > a customer bought bought 180 pcs of an item at $ 81.50 with a rebatt of > 7.5% Normally the amount should be > 180 x 81.50 x (100-7.5)/100 = 13569.75, so I am wondering why I am > getting 13,570.20 in sql-ledger invoice and sale order. > regards Looks like the unit price is being discounted, then rounded to two decimal places, then the qty is multiplied out. You could probably call that a bug, but I suspect rounding is a matter of policy as much as mathematical correctness. -- Regards, Ashley J Gittins web: http://www.purple.dropbear.id.au jabber: agi...@pu... |