< C++ Programming < Code < Standard C Library < Functions

fmod

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

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

Related topics
ceil - fabs - floor
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.