Comment 35 for bug 707923

Revision history for this message
Ferdinand (office-chricar) wrote : Re: [6.0 and 5] invoice tax - rounding issue

@Sharoon
* sum(debit) - as long as it runs as postgres select sum(debit) will IMHO return correct results, as these fields are defined as numeric
** in V5 "numeric(16,2)"
** in V6 everything is "numeric"
is this correct ? why do we have the digits definition ?

* using Decimals will not solve the issue of this bug report because it's a design - not a technical - issue where to apply or not rounding.

of course I would like to see cDecimals but until now I have not seen any (obvious) problems caused by using float in python