fmod
Syntax:
  #include <cmath>
  double fmod( double x, double y );

The fmod() function returns the remainder of x/y.