fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. double a = 32.712459201;
  5. int b = 7;
  6. a = (double)((int)a % b);
  7. printf("%f", a);
  8. return 0;
  9. }
  10.  
Success #stdin #stdout 0s 2168KB
stdin
Standard input is empty
stdout
4.000000