converting double to string small problem

I'm making a program where i read an double value after that i have to convert it to string so i can make some operations with it.
I found a way how to convert it to string with <sstring> class but for input of double:
954544656
i get a string with value
9.54545e+008
so this is my problem i want the string to be same as input without rounding or without any modification.
Last edited on
You need to work with manipulators: http://www.cplusplus.com/reference/iostream/manipulators/
Notice that doubles are don't have much precision so you may get different result from the original value
Topic archived. No new replies allowed.