Changing the Currency via code in c#
c#
Solution
Specify the culture in the call to `Format`:
decimal value = 123.45M;
CultureInfo us = CultureInfo.GetCultureInfo("en-US");
string s = string.Format(us, "{0:C}", value);
Problem
I am using the following to display an amount: String.Format("{0:C}", item.Amount) This display £9.99 which is okay, but what if I want the application to be able to control the currency and to be able to change the currency to day $9.99 How do I change the currency format via code