#include <iostream> int main() { double a = 3421001.5422; std::cout << std::fixed << a; return 0;}
Standard input is empty
3421001.542200
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!