How do I convert a double into a string in C++? - Stack Overflow
I need to store a double as a string. I know I can use printf if I wanted to display it, but I just want to store it in a string variable so that I can store it in a map later (as the value, not ... ... sprintf is okay, but in C++, the better, safer, and ...