Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2 Besvarelser
6611 Visninger

Hi,

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

Chirag

Avatar
Kassér

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.

Bedste svar

Try follwoing in your report

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

Avatar
Kassér
Bedste svar

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

 

Avatar
Kassér