c# - change currency of string format -
this question has answer here:
- string format currency 6 answers
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
Post a Comment