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