Hello Michael,
RadLabel does not have such feature to format the displayed value of its
Text property. I would suggest to you to assign already formatted value to the
Text property. In your case you could do it like this:
float num = 7.97962f; |
radLabel1.Text = String.Format("{0:#.##}", num); |
|
If you have any other questions, please don't hesitate to write us again.
Sincerely yours,
Georgi
the Telerik team
Check out
Telerik Trainer, the state of the art learning tool for Telerik products.