Seaching to find currency from CurrentUICulture or CurrentCulture

  • Thread starter Thread starter WT
  • Start date Start date
W

WT

Hello,

Is there a way in .net to extract the 3 letter currency symbol from
CultureInfo ?
This must be a well known problem.

Thanks for help.

CS
 
WT said:
Is there a way in .net to extract the 3 letter currency symbol from
CultureInfo ?

RegionInfo has those codes. If you have a CultureInfo you can access
new RegionInfo(cultureInfoInstance.Name).ISOCurrencySymbol
 
re:
!> Is there a way in .net to extract the 3 letter currency symbol from CultureInfo ?

Not from CultureInfo, but you can get it from the RegionInfo class.

Here you have a code example to do that :

http://devcenter.infragistics.com/Articles/ArticleTemplate.Aspx?ArticleID=1236

You're looking for the CurrencySymbol if you want the symbol itself.
If you want the 3-letter country region, you want the ISOCurrencySymbol.




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
=========================
 
Back
Top