Skip to Content
मेन्यू
This question has been flagged
2 Replies
3199 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?

Avatar
Discard
Author Best Answer

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

Avatar
Discard
Best Answer

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

Avatar
Discard
Author

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

Related Posts Replies Views Activity
2
जुल॰ 20
7680
4
मार्च 16
5649
0
मई 15
164
1
मार्च 15
5897
1
मार्च 15
6717