Community mailing list archives

Decimal precision of the monetary widget

Torvald Baade Bringsvor, Torvald B. Bringsvor
- 11/27/2015 10:46:54

I wa nted to conserve some space in my invoice form so I changed the widget for the price_unit to be monetary. But now I get problems when there is numerical noise in the data. Like for one invoice I now get a unit price of 92.10000000000001

Is there some way to display money with up to two digits to avoid this?


Torvald Baade Bringsvor
Bringsvor Consulting AS - Odoo (formerly OpenERP) implementation partner