Hello,
I'm making this program where the user enters a string for a dollar amount: "$1, 234.56" for example...

Then I'm supposed to take that string and convert it into an actual number. All well and good (I think)...but I was wondering if 2 things were possible (and if they are, perhaps a good swift kick in the right direction could be pleasantly helpful)...

1.) Is it possible that when I display the dollar amount as a type long double, I can make it so there are commas for every 3 digits? I couldnt figure out a way to put them in...

2.) Is it possible when crawling through the string and finding a period, to insert a period in the numerical version?

Thanks a lot! Chap...