fork(1) download
  1. #include <cstdio>
  2.  
  3. int main()
  4. {
  5. printf("%.3f\n", 0.1);
  6. printf("%.3f\n", 150);
  7. printf("%.3f\n", 123.103);
  8. return 0;
  9. }
Success #stdin #stdout 0.02s 2724KB
stdin
Standard input is empty
stdout
0.100
0.100
123.103