Validating / enumerating ISO currency symbols

From: Radek Cerny (radek.cerny_at_asplications.nospam.com.au)
Date: 07/22/04


Date: Thu, 22 Jul 2004 16:19:18 +1000

Hi,

is there a method to validate a given 3-letter ISO currency code, eg AUD,USD
etc and retrieve associated data such as symbol ($ etc) and # of decimals?
Or a way of enumerating thru the known set of these would be good enough. I
can only see these features via a culture, usimg
System.Globalization.RegionInfo.CurrentRegion.CurrencySymbol. I suppose
that a way of enumerating thru all known cultures would also suffice. Any
ideas?

TIA

Radek



Relevant Pages

  • Re: days of week
    ... This returns a string array ... to retrieve the days of the week appropriate for the culture ... Please do not send e-mail directly to this alias. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Culture
    ... retrieve the culture from a database? ... the use of a database using culture is that you can have the name of country ... PT-pt for Portuguese (Portugal) ... Is there a way to retrieve the culture info from a database ...
    (microsoft.public.dotnet.framework)
  • Re: how to localize a composite control
    ... The easiest way is to store the display texts as the WebResource and retrieve it based on the client machine's current culture. ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • How to GetDecimal from database by ColumnName (NOT: by column number) ?
    ... Normally I retrieve an value from a database record by enumerating ... Decimal localvar = reader.GetDecimal; ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Retrieving data from Oracle
    ... to retrieve the data through fetchrow_array. ... but they are uppercase or mixed case. ... Try enumerating all hash keys of your hashref. ...
    (perl.dbi.users)