Click here to Skip to main content
15,892,697 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
See more:
How can i convert currency in format of $324,351.00 using CultureInfo class?

Help is very appreciated.
Posted
Updated 26-Nov-10 0:04am
v2

If I understand correcly your question, you can use this code

C#
int i = 100;

CultureInfo us = new CultureInfo("en-US");
String test = i.ToString("c", us)


For more format, see MSDN
 
Share this answer
 
v2
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900