I have a float field and i can calculate amount within this field. I want that amount should show in round figure. For eg. when price is 64.80 then it updated to 65 and if price 64.40 then it updated to 64. So, what solution i could use?
Thanks in advance.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- Müşteri İlişkileri Yönetimi
- e-Commerce
- Muhasebe
- Envanter
- PoS
- Project
- MRP
Bu soru işaretlendi
2
Cevaplar
3831
Görünümler
you can use python's round() function
Problem solved by just using 'round'. For eg. round(amount).
Thanks.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Olİlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
---|---|---|---|---|
|
2
Eki 18
|
6623 | ||
|
0
Ağu 22
|
2329 | ||
|
1
Tem 22
|
20010 | ||
|
0
Nis 22
|
2975 | ||
|
3
Eyl 21
|
3169 |