setting the decimal variable to include 2 numbers after decimal point?

  • Thread starter Thread starter Scott
  • Start date Start date
S

Scott

How do I declare the decimal variable to include money...

If want to use money and instead of vb.net displaying £32.2 I want it to
display £32.20!!!

How do I do this. cant find it anywhere???

Scott
 
Try using this overload of the Decimal.ToString(String) class, I think if you
pass a "C" to this overload you'll get currency format beyond that you'll
have to consult the NumberFormatInfo class.
 
Back
Top