-
Regional Settings
My application is using French(Canada) for the number which is "," for the decimal sign.
Some users are using English(United States) to have the "." for the decimal sign.
When there's a French(Canada) number like 6,05 in my application, if the user change his settings for English(United States), it shows 605.
How can I deal with the "." and the "," without changing the values of my number?
-
Re: Regional Settings
-
Re: Regional Settings
Hi,
You can search this forum using keywords, "regional settings" and you will get a loadful of them. You need to use the API functions:
GetUserDefaultLCID 'to retrieve locale id.
GetLocaleInfo 'to get a particulair setting. Look for API constants.
'I can't remember the currency one...<g>
'Const LOCALE_SHORTDATE = &H1F
'Const LOCALE_STIMEFORMAT = &H1003
Have a good one!
BK