Mega Code Archive

 
Categories / C / Code Snippets
 

Floating-point remainder value function

#include <math.h> #include <stdio.h> int main(void) { printf("%1.1f", fmod(19.0, 3.0)); return 0; }