-
February 10th, 2013, 02:38 AM
#1
Localize big number mask
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
-
February 10th, 2013, 03:32 AM
#2
Re: Localize big number mask
Use GetLocaleInfo(Ex) API with LOCALE_SDECIMAL flag.
Victor Nijegorodov
-
February 10th, 2013, 04:52 AM
#3
Re: Localize big number mask
Thanks a lot!!
By the way I needed the flag LOCALE_STHOUSAND.
-
February 10th, 2013, 06:20 AM
#4
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|