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
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
Rekisteröidy| Aiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
|---|---|---|---|---|
|
How can I stop round decimals in odoo 12
Ratkaistu
|
2
heinäk. 20
|
8579 | ||
|
4
maalisk. 16
|
6278 | |||
|
0
toukok. 15
|
164 | |||
|
1
maalisk. 15
|
6468 | |||
|
1
maalisk. 15
|
7316 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.