← Back to team overview

openerp-expert-framework team mailing list archive

Re: float errors propagating to 10^-2 in OpenERP v5...

 

hi
Raphaël Valyi wrote:
> 
> I can read things like if 3rd decimal reaches 5 should
> be rounded up, else down.
> 
This rule is often ignored by non accountants, as the previous discussion.
(0.101 was the right answer)

Raphaël Valyi wrote:
>  However, nowhere I can see if a 10^⁻17 epsilon is
> tolerated in the computation before we do that rounding (it's hard for me
> to
> believe it's not tolerable as it would make simple daily accounting pretty
> challenging and that's why I ask for legal texts or specialists
> interventions upon this).
> 
Reports must be "acurate", which means cents must be exact.
In many audits, only cents are checked first because it is fast. If cents
are not correct, then it's usually not needed to control any further. The
report is rejected.
There is no problem in daily accounting because all devices calculate in BCD
for this reason. The first hand-held calculator since 70s, and any
spreadsheet with the "finance" format does it. A cashier has to calculate in
BCD.
Accountants have never learnt one can calculate differently than in base
ten, so you'll probably not find a law. Anyway, regarding French legals,
there are more important reasons to be careful.


-- 
View this message in context: http://openerp-expert-framework.71550.n3.nabble.com/float-errors-propagating-to-10-2-in-OpenERP-v5-tp1175425p1217623.html
Sent from the openerp-expert-framework mailing list archive at Nabble.com.



Follow ups

References