-1

My current culture is en-US, but grid's language contains textboxes and is set to another language, say, fr-FR. How can I get a currency symbol from the input string of textbox?

Thank you.

Igor S
  • 638
  • 7
  • 15

1 Answers1

2

If you know culture/region ISO code you can get corresponding currency symbol

  String language = "FR-fr"; // <- France (culture or region ISO code)
  String currecySymbol = new RegionInfo(language).CurrencySymbol; // <- should return Euro currency symbol €
Dmitry Bychenko
  • 180,369
  • 20
  • 160
  • 215