For example, When I run this code: <p><t t-esc="6.2/9"/></p>
I get this: <p>0.688888888889</p>
How can I make it look like this: <p>0.69</p>
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
For example, When I run this code: <p><t t-esc="6.2/9"/></p>
I get this: <p>0.688888888889</p>
How can I make it look like this: <p>0.69</p>
<p><t t-esc="round(6.2/9,2)"/></p>
Thank you Sajin. Where can I find this information from????
You have provided me with a lot of help with many of my questions. I appreciate it. Where do you work?
Still works in 14.0!
Create an account today to enjoy exclusive features and engage with our awesome community!
Prijavi
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.