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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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?
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
use widget="integer" ..........
It's like a makeup, numbers are still not precise.
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
AanmeldenGerelateerde posts | Antwoorden | Weergaven | Activiteit | |
---|---|---|---|---|
|
2
jul. 20
|
7652 | ||
|
4
mrt. 16
|
5620 | ||
|
0
mei 15
|
164 | ||
|
1
mrt. 15
|
5887 | ||
|
1
mrt. 15
|
6707 |