I have a grid where I am showing a price field with 5 decimal places, but I only want to show decimal places when I need them.
e.g.
1,234.56000 >>> I would like to look like >>>> 1,234.56
Although in the same grid I could have >>>>> 0.98765
Thanks,
Chuck
1 Answer, 1 is accepted
0
Accepted
Martin
Telerik team
answered on 15 Jun 2011, 08:11 AM
Hello Chuck,
In RadGrid for ASP .NET AJAX you can easily achieve the desired output by supplying the correct format string in the column in question. Bellow is the code for a sample page that demonstrates this approach: