I use this code:
grid.Cells[4,arow]:=floattostrf(Amount,fffixed,10,2);
Still 197.75 shows as 198 in the grid.
Is there a property that overrides my code?
I use this code:
grid.Cells[4,arow]:=floattostrf(Amount,fffixed,10,2);
Still 197.75 shows as 198 in the grid.
Is there a property that overrides my code?
Sorry, we can't reproduce this here.
Please provide a sample.
Alternatively, please take a look at TTMSFNCDataGrid, where you have more control over the data and the display format.