FormatCurrency or equiv

  • Thread starter Thread starter Andrea Williams
  • Start date Start date
A

Andrea Williams

Anyone have code that will format a decimal value to a string currency
format for display? Something like FormatCurrency() in VBscript had?

I usually search thecodeproject.com first, but something's wrong b/c I can't
get to the articles where there might be an answer.

Thanks in advance,
Andrea
 
Hello

decimal c = 10;
Console.WriteLine(c.ToString("C"));

Best regards,
Sherif
 
I was going to write that I found it but you beat me to it.

THANKS!

Andrea
 

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