cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
div & mod
div & mod
Feb 20, 2012 at 6:25pm UTC
htown
(26)
How would I use div and mod in a floating point number?
Ex. 1245.87 I know mod will not work with floats, is there a way around this?
Thanks.
Feb 20, 2012 at 6:39pm UTC
LB
(13399)
http://www.cplusplus.com/reference/clibrary/cmath/fmod/
Topic archived. No new replies allowed.