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

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

fmod[edit]

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

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

Related topics
ceil - fabs - floor