1

I've got a string formatter:

String.Format("{0:c}", team.sales);

when I do this, the string is printed with a pound sign(£) is there any way for me to force formatter to show dollars($) instead?

Pindo
  • 1,585
  • 5
  • 16
  • 32

1 Answers1

2
int money = 125000000;
CultureInfo us = CultureInfo.ReadOnly(new CultureInfo("en-US"));
String result = String.Format(us, @"{0:c}", money);
choz
  • 17,242
  • 4
  • 53
  • 73