Currency issue

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I want to achieve $10,000 and not $10,000.00. I currently have

Decimal.Round(my Value).ToString("C")

Any ideas?

Thanks
 
I want to achieve $10,000 and not $10,000.00. I currently have
Decimal.Round(my Value).ToString("C")

..ToString("C0")
whereas the digit after the "C" gives us the number of positions after
the decimal point.

hth
Markus
 
Thanks!

Markus said:
..ToString("C0")
whereas the digit after the "C" gives us the number of positions after
the decimal point.

hth
Markus
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top