Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need some help with Currency formatting...

Status
Not open for further replies.

iannuzzelli

Programmer
Jan 4, 2003
36
US

I need to be able to convert currency formats depending on what country is selected in my application. I already know the currency but need to format the amount to reflect correct format. Windows already has this functionality and is used in the Regional and Language Settings. Is there a way I can make a call to the API to get the same information?

For example:

$56,789.00 to 56.789,00 euro


Thanks for any help.

 
What you want is the CultureInfo class. You supply a locale "en-US", "fr-FR", etc. to the constructor and it gives you all your date, number, and currency formatting info.

Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top