Formatting labels

  • Thread starter Thread starter David
  • Start date Start date
D

David

It seems simple enough, but I have a label on a form that I would like to
use to display a dollar value.
the problem comes in when the text is displayed. Instead of 32.00 I get
32.00000.


I have a simular problem with a data grid
Instad of getting 32.00 I get 32.

any suggestions
 
* "David said:
It seems simple enough, but I have a label on a form that I would like to
use to display a dollar value.
the problem comes in when the text is displayed. Instead of 32.00 I get
32.00000.

Have a look at 'String.Format' or the 'ToString' method of the variable
holding the number.
 
Back
Top