Seaching to find currency from CurrentUICulture or CurrentCulture

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
 
M

Martin Honnen

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
 
J

Juan T. Llibre

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/
=========================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top