C++ Programming/Code/Standard C Library/Functions/fmod

From Wikibooks, open books for an open world
Jump to navigation Jump to search

fmod[edit | edit source]

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

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

Related topics
ceil - fabs - floor