#include <iostream>#include <iomanip> int main() { std::cout << std::scientific << std::setprecision(1) << 0.003; return 0;}
Standard input is empty
3.0e-03
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!