Posted
on Jul 29, 2011
(permalink)
Hi,
We develop engineering software tools which means we must support values to varying degrees of accuracy.
For input from the user we are using the RadNumericUpDown control and set the NumberOfDecimalDigits property to the required precision. This works great however, for example if we set the precision to 10dp, the control displays 0.000000000 for a value of "0".
How can we change the control to display the value up the the significant digit rather than the maximum precision specified on the control?
To further clarify:
with a max of 10dp precision allowed if the user enters "1.1234" the value in the text box is 1.1234000000. However the user just wants to see 1.1234 without the trailing zeros.
Regards