Odoo Help

0

How to remove decimal

By
Chirag
on 1/13/15, 6:18 AM 1,169 views

Hi,

How do you remove decimal places using CSS Style or t-esc-options?

Chirag

Just a note that I just realized that formatLang does not do proper rounding. It will truncate the remaining decimal places (it used string formatting tool). So, it is better if you do a proper rounding first before you put your value into formatLang.

Ivan
on 1/16/15, 6:26 AM
1

Try follwoing in your report

formatLang(<<your value>>,digits=0)

1
aci aisha
On 1/16/15, 4:59 AM

formatLang(<<your value>>,digits=0)

 

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 1/13/15, 6:18 AM
Seen: 1169 times
Last updated: 3/16/15, 8:10 AM