Link to home
Start Free TrialLog in
Avatar of Dj_Fx8
Dj_Fx8

asked on

Easy Format Question

Hi

Using CString::Format how do I format 1234 to be 1,234
ASKER CERTIFIED SOLUTION
Avatar of info_expert
info_expert
Flag of Pakistan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
One thing i forgot to tell that you can use the same string and use the 'insert' function to insert the commas in string but you will have to determine the number of groups of strings to be made in source string.
Avatar of Dj_Fx8
Dj_Fx8

ASKER

Hi

>>>u can use your brain

I was hoping I wouldn't have to do that :-) I have no prob working it out, but just was wondering if there was an easier way.

Many Thanks
Avatar of AndyAinscow
Have a look at GetNumberFormat in help.