Need a little help with string stream. This is my first time using it, but with little success. I need to take a double number, make it a string, then format it. Put in commas, a dollar sign etc.
However, the stringstream object is either dropping decimals, not recognizing them whatsoever, or putting my number into scientific notation. I am looking to do this in a class context without pointers or anything advanced (if it can be helped)