I have a label control that is bound to a field on a table in a dataset. The field is of type decimal.
I'm trying to format the field such that it shows 8 decimal places -> ds.somefld.ToString("0.00000000")
This works fine so long as there is a value greater than Zero. However, if the value is zero, all that shows is: "0".
Is there an easy way to resolve this?
mongr1l
I'm trying to format the field such that it shows 8 decimal places -> ds.somefld.ToString("0.00000000")
This works fine so long as there is a value greater than Zero. However, if the value is zero, all that shows is: "0".
Is there an easy way to resolve this?
mongr1l