I'm making a calculator in command prompt, and lately I have been trying out different algorithms for square root. The one that I am using returns in a double, which I want, but brings a problem. When I print the double into command prompt, if it is more than 6 digits, it uses scientific notation. I would like to view the number normally, since It really isn't that big. Is there any way to print it in standard form?
Use the std::fixed stream manipulator (http://en.cppreference.com/w/cpp/io/manip/fixed)