Decimal number format

I want to format my column with decimal/float values so that I show, 0 as 0, 1.250 as 1.25, 5.00 as 5
I have defined column as “ro”.

I tried setNumberFormat(“0.00”, 8); But it displays 5.00 as 5.00 and not 5.

how do I make it display 5.00 as 5 but 5.25 should display as 5.25?

setNumberFormat() method works for “edn”, “ron” excell only:
docs.dhtmlx.com/doku.php?id=dhtm … mberformat