openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #15231
[Bug 1012964] Re: bug with float in orm
Hello James Monod ,
I have checked it again currently its working fine with trunk but
problem exist with 6.1 web as well as GTk-client.So I am assigning
this issue to opw team.
I have attached a screenshot of trunk as well as 6.1-stable.
Thank you.
** Changed in: openobject-server
Assignee: OpenERP's Framework R&D (openerp-dev-framework) => OpenERP Publisher's Warranty Team (openerp-opw)
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1012964
Title:
bug with float in orm
Status in OpenERP Server:
Confirmed
Bug description:
Hi,
In product UoM, I have a test case to show this bug. I define factor as float, digits=(15,15).
1. when writing a value of 1000 then value stored in database is 1,000.000000000000114
2. when writing a value of 10,000 then value stored in database is 10,000.000000000003638
3. writing value of 100,000 then stored data is 100,000.000000000029104
=> 12th digit after decimal point is affected. From 1st to 11th digit
is not affected.
Thanks,
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1012964/+subscriptions
References