Converting a double to a string

closed account (L074GNh0)
I'm trying to find a way to accuratley convert a double in the form of a bank account number stored in a file into a string representing the number returned by a file.

Last edited on
Why are the bank account numbers stored as doubles and not strings in the first place?


Anyways...You can use a stringstream. http://www.cplusplus.com/reference/sstream/stringstream/?kw=stringstream with operator << and >>
Topic archived. No new replies allowed.