Odoo Help


Odoo 9, amounts rounding

on 8/25/16, 3:02 AM 292 views

I imported bank statements by default import from csv file.

In the file the amount is -20.58 but in database I see -20.580000000000002.

What's wrong with numbers in Odoo?

On 9/9/16, 3:37 AM

As I understand this is due to float type used for numbers.

Float type is not precise!!!

Details are here https://docs.python.org/2/tutorial/floatingpoint.html

On 9/19/16, 6:08 AM

use widget="integer" ..........

It's like a makeup, numbers are still not precise.

on 9/19/16, 2:29 PM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 8/25/16, 3:02 AM
Seen: 292 times
Last updated: 9/19/16, 6:08 AM