I have doubles that are very big and keep going into Scientific notation (e.g. 3.12002769e+27) when outputted. How can I stop this as I'm writing to a file and can't have this.
Asked
Active
Viewed 34 times
0
-
1Use the std::fixed manipulator http://en.cppreference.com/w/cpp/io/manip/fixed – Jul 12 '17 at 16:20
-
http://en.cppreference.com/w/cpp/io/manip/fixed – Jesper Juhl Jul 12 '17 at 16:21