fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4.  
  5. float f1 = 1.20715;
  6.  
  7. printf("f1 = %.5f = %.4f\n", f1, f1);
  8.  
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0s 2112KB
stdin
Standard input is empty
stdout
f1 = 1.20715 = 1.2071