openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #12503
[Bug 1012964] Re: bug with float in orm
** Changed in: openobject-server
Importance: Undecided => Low
** Changed in: openobject-server
Status: New => Confirmed
** Changed in: openobject-server
Assignee: (unassigned) => OpenERP's Framework R&D (openerp-dev-framework)
--
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