c# - change currency of string format -


this question has answer here:

i've got string formatter:

string.format("{0:c}", team.sales); 

when this, string printed pound sign(£) there way me force formatter show dollars($) instead?

int money = 125000000; cultureinfo = cultureinfo.readonly(new cultureinfo("en-us")); string result = string.format(us, @"{0:c}", money); 

Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -