FORMAT DECIMAL decimalPointType 'NONE' doesnt work

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FORMAT DECIMAL decimalPointType 'NONE' doesnt work

albertocrespo
I want to format the fraction's result only showing the first integer digit and the first decimal.

For example, format this 0.6777777 into this 06

I closest result I got is 0?7 using ${#numbers.formatDecimal(0.677777, 1 , 1, 'NONE')}

https://stackoverflow.com/questions/45203338/how-to-format-fractions-result-in-html5-with-thymeleaf