This is a migrated thread and some comments may be shown as answers.

DataFormatStrimg for control decimal place

1 Answer 31 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jeff Tang
Top achievements
Rank 1
Jeff Tang asked on 18 Dec 2008, 04:32 AM
I have a grid, how can I display a "double" rounded to 2 decimal place?

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 18 Dec 2008, 06:50 AM
Hello Jeff,

You can use DataFormatString="{0:F2}" to achieve your goal.

Kind regards,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Jeff Tang
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or