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
| 相关帖文 | 回复 | 查看 | 活动 | |
|---|---|---|---|---|
|
2
7月 20
|
8496 | |||
|
4
3月 16
|
6235 | |||
|
0
5月 15
|
164 | |||
|
1
3月 15
|
6402 | |||
|
1
3月 15
|
7251 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.