Hey I have some strings that shows big number. I need to add commas to the big numer so for example 9999999 become 9,999,999 I need it to be localized and I know that some languages uses the char '.' instead of ',' Any ideas how can I do it ? Many thanks
Use GetLocaleInfo(Ex) API with LOCALE_SDECIMAL flag.
Victor Nijegorodov
Thanks a lot!! By the way I needed the flag LOCALE_STHOUSAND.
Originally Posted by inmar32 Thanks a lot!! By the way I needed the flag LOCALE_STHOUSAND. Yes! And sorry for my mistake... (copied from the wrong place of MSDN)
Forum Rules
Bookmarks