keyongtech


  keyongtech > win32.programmer.* > win32.programmer.international > 09/2005

 #1  
09-05-05, 02:40 PM
awf_ng
Okay, I've had enough of trying to figure this out so it's time to ask
those who know. What I'm trying to do is quite straightforward but
seems to be a nightmare to get right.

I have a system that needs to format a monetary value based on the
associated monetary symbol. i.e. It needs to format a GBP value to 2
decimal places, EGP to 3 decimal places etc.

I can query the Locale Info to get the number of decimal places for
these locales which is fine but the last time I went to Spain they were
using the Euro, not the Pesata. France wasn't using the Franc anymore.
When I enumerate the available locales, I never get an entry that says
it's using the Euro. Therefore my Spanish values format to 0 decimal
places and my French format to 2 decimal places.

Can someone point me in the right direction please.

Thanks in advance.
 #2  
09-05-05, 06:59 PM
Michael \(michka\) Kaplan [MS]
If you have an up to date version of the OS, it will have that data.
 #3  
09-06-05, 09:11 AM
awf_ng
As far as I know, I do have the latest version of the OS. Win2k with
all the service packs and Windows Updates. How can I check what's not
up to date?
 #4  
09-06-05, 11:54 AM
Louis Solomon [SteelBytes]
windows/microsoft update
or
microsoft baseline security analyzer
etc
 #5  
09-06-05, 03:08 PM
Michael \(michka\) Kaplan [MS]
The latest version of the OS is Windows XP and Server 2003, where all of the
countries using the Euro as their offi cial currency have had the data
updated to reflect that.

Locale data is not updated in service packs.
Similar Threads
Merging with Monetary values

When merging cannot pick up .00 in currency. Will pick up other numbers. Tried reformatting column, still will not do this. Does anyone have any ideas? thanks,

monetary values

Why do monetary values show up as the pound sign's?

How to merge monetary values from Excel to Word?

I am trying to merge an excel worksheet to Word, but when I merge the information, such as dollar amounts, i.e. 103,801,186, I lose the commas and I have to go into each...

locale, format monetary values

Hi, Can I use locale to format monetary values? If yes, how? If no, is there something I can use? E.g., I have 10000 and I want to get "$10,000". Thanks, Ray

How to show monetary values in a DataGrid

Hello folks. I have a DataGrid in a Web Form. I´d like to show numeric columns in Money format US$ 10,000.98. However, when I fill the DataGrid from a SqlCommand, it fill in...


All times are GMT. The time now is 09:46 PM. | Privacy Policy