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:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
2
Replies
2973
Views
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!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
Oct 18
|
5719 | ||
|
0
Aug 22
|
1192 | ||
|
1
Jul 22
|
18245 | ||
|
0
Apr 22
|
1843 | ||
|
3
Sep 21
|
2142 |