← Back to team overview

openerp-india team mailing list archive

[Bug 1092497] [NEW] Unit of measure ratio incorrect on save

 

Public bug reported:

As in bug lp:931363 the ratio of new Units of measure gets messed up by
floating point maths.

See attached video.

I am attempting to create a new UoM in the Length category of 6.1m (the
reference UoM is 1m).

However, when I save the UoM ration as 6.1 it gets changed to
6.09999982! This is not correct.

This on yesterday's trunk.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

** Attachment added: "Video showing rounding issue."
   https://bugs.launchpad.net/bugs/1092497/+attachment/3464601/+files/out-3.ogv

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1092497

Title:
  Unit of measure ratio incorrect on save

Status in OpenERP Addons (modules):
  New

Bug description:
  As in bug lp:931363 the ratio of new Units of measure gets messed up
  by floating point maths.

  See attached video.

  I am attempting to create a new UoM in the Length category of 6.1m
  (the reference UoM is 1m).

  However, when I save the UoM ration as 6.1 it gets changed to
  6.09999982! This is not correct.

  This on yesterday's trunk.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1092497/+subscriptions


Follow ups

References