Re: Formatting numbers/money according to Locale in Win32?
- Posted by Jeremy Cowgar <jeremy at c?wgar.co?> May 05, 2008
- 723 views
jacques deschĂȘnes wrote: > > > ref: <a > href="http://msdn.microsoft.com/en-us/library/ms776318">http://msdn.microsoft.com/en-us/library/ms776318</a>(VS.85).aspx > GetCurrencyFormat is in kernel32.dll but there 2 version of it ANSI and > UNICODE > GetCurrencyFormmatA and GetCurrencyFormatW > Ah. GetCurrencyFormatA... In the docs I was looking at it is references GetCurrencyFormat. Great. I found GetNumberFormat as well. So, now date/time, number and currency formatting are all locales based on the OS locale data! -- Jeremy Cowgar http://jeremy.cowgar.com