HOME

Friday, August 17, 2012

double or float convert to currency format C#


double amount=1234;
amount.ToString("#,##0.00");
Then resulting string is 1,234.00

No comments:

Post a Comment