473,386 Members | 1,873 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

ISO Currency code - existing enum in .NET ?

Hello,

Is there an enum available within the .NET library which gives the valid ISO
currency code?

Thanks,
-José
Nov 1 '06 #1
3 3730
On Wed, 1 Nov 2006 16:12:58 +0100, "José Joye" <Me@me.comwrote:
>Hello,

Is there an enum available within the .NET library which gives the valid ISO
currency code?

Thanks,
-José
If you search in Help for the RegionInfo class there is a list of all
the ISO three letter currency symbols. They appear to be stored as
strings, not an enumeration, see the RegionInfo.ISOCurrencySymbol
property.

rossum

Nov 1 '06 #2
Thanks,

The RegionInfo.ISOCurrencySymbol returns the ISO currency for the current
region.
What I was expecting is a kind of list that returns me all the available ISO
symbol so as to check it for validity.

- José

"rossum" <ro******@coldmail.coma écrit dans le message de news:
gn********************************@4ax.com...
On Wed, 1 Nov 2006 16:12:58 +0100, "José Joye" <Me@me.comwrote:
>>Hello,

Is there an enum available within the .NET library which gives the valid
ISO
currency code?

Thanks,
-José
If you search in Help for the RegionInfo class there is a list of all
the ISO three letter currency symbols. They appear to be stored as
strings, not an enumeration, see the RegionInfo.ISOCurrencySymbol
property.

rossum

Nov 1 '06 #3
The RegionInfo.ISOCurrencySymbol returns the ISO currency for the current
region.
What I was expecting is a kind of list that returns me all the available
ISO symbol so as to check it for validity.
You can enumerate RegionInfo, get the ISO currency symbol for each and make
your own list.
--
Mihai Nita [Microsoft MVP, Windows - SDK]
http://www.mihai-nita.net
------------------------------------------
Replace _year_ with _ to get the real email
Nov 2 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Abby Lee | last post by:
I found the following script somewhere so I can change values to money before the form is printed. The page works for most people but not some. It worked fine for me but I get the yellow tri-angle...
2
by: Willing 2 Learn | last post by:
I'm still having trouble getting my program to do arithmetic in cents(keeping all #'s) then convert the answer in a format of dollars & cents. The main program should add, subtract, scalar...
1
by: Danko Greiner | last post by:
Thanx Willy, this was very helpful. But i also need (and want to know) how to do this from code. Can you plase give me right topic in MSDN? is there good example? Thanx p.s. this is...
2
by: magister | last post by:
Hello, Is there a way I can validate the input on a textbox for currency including all currency symbols.. At the moment I have it only for the current culture info, but most banks use several...
11
by: Adrian | last post by:
Hi I want to use the following declarations but vb dotnet keeps complaining that currency can't be used because it private ? I have tried it in a module and in the declaration pare same error!...
47
by: mister catering | last post by:
I have a doubt... why is so dificult to reuse software developed under the same language (not only c of course) and under the same compiler?. It seems the language itself is not enough to build a...
3
by: José Joye | last post by:
Hello, Is there an enum available within the .NET library which gives the valid ISO currency code? Thanks, -José
3
by: Eric | last post by:
I know this is a property of the RegionInfo class. I figure somewhere in the framework is the actual enumeration, which I would like to use. I want to use it to support a Money class I need,...
25
by: mereba | last post by:
Hello My country Ghana is changing its currency. I want to write a small programme in C++ that can covert from the old currency into the new one. I would like this programme to run behind a simple...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.