← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 351100] Re: [5.0] BE VAT XML export unexpected number rounding

 

** Changed in: openobject-addons
     Assignee: Niels Huylebroeck (niels-bubbles-it) => (unassigned)

-- 
[5.0] BE VAT XML export unexpected number rounding
https://bugs.launchpad.net/bugs/351100
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: In Progress

Bug description:
The methode used for converting the number values results in rounding errors

For example int(4609.69*100) gives you 460968
Because int() trunks the value a simple int(round(value*100,2)) seems to work ok.