c:math:fmod

C++ Reference

fmod

Syntax:

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

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

Related Topics: ceil, fabs, floor