Fiscal rounding error

Bug #955242 reported by Kellogs on 2012-03-14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
New report intrastat

Bug Description

In France, fiscal rounding is as such:
* between 0 and 0,5 => rounded to 0
* between 0,5 and 1 => rounded to 1

As a result ... each line is false.

For example: 4,99 € becomre 4 euros.
When it should be 5€.

Alexis de Lattre (alexis-via) wrote :

>>> int(round(4.99))
>>> int(round(4.49))

THat's what's in the code, cf l10n_fr_intrastat_product/

So, for me, the current implementation is OK : a value of 4.99 will become 5 in DEB.

Changed in new-report-intrastat:
status: New → Invalid
Kellogs (jm-poure) wrote :

I double-checked and you are right.
All my apologies, sorry for the confusion.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers