Currently At: Programming Reference > C Reference > Standard C Math > modf()

modf()


Syntax:
#include <math.h>
double modf( double num, double *i );


Description:
The function modf() splits num into its integer and fraction parts. It returns the fractional part and loads the integer part into i.

Related Topics:
frexp(), ldexp()


Web Standards & Support:

Link to and support eLook.org Powered by LoadedWeb Web Hosting
Valid XHTML 1.0! Valid CSS! eLook.org FireFox Extensions