I am doing calculations on numbers and then I want to display them in a datagrid that always has 2 decimal places. I am doing something like
Dim Size As Decimal
Dim Space As Decimal
...
...
...
Size = Decimal.Round(S ize, 2)
Space = Decimal.Round(S pace, 2)
If the number happens to round to say 95 I want it to display as 95.00. How can I do that?
Thanks in advance.
Christel
Dim Size As Decimal
Dim Space As Decimal
...
...
...
Size = Decimal.Round(S ize, 2)
Space = Decimal.Round(S pace, 2)
If the number happens to round to say 95 I want it to display as 95.00. How can I do that?
Thanks in advance.
Christel
Comment