Dj_Fx8
asked on
Easy Format Question
Hi
Using CString::Format how do I format 1234 to be 1,234
Using CString::Format how do I format 1234 to be 1,234
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
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
>>>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
Have a look at GetNumberFormat in help.