floating and the modulus operator

I need to use a floating variable, and the modulus operator and I can't figure out how to use them together...
if anyone can help me I would greatly appreciate it,
thanks
(I'm only in highschool so I don't know much C++, but I'm trying to learn)
[261 byte] By [Ryan0788] at [2007-12-17]
# 1
The modulo operator % works only on int's. For float and doubles there is a fmod function in the CRT.

http://msdn.microsoft.com/library/en-us/vclib/html/_crt_fmod.asp
http://msdn2.microsoft.com/library/efa0csed(en-US,VS.80).aspx

MartinRichter at 2007-9-8 > top of Msdn Tech,Visual C++,Visual C++ Language...