Thread
:
Modulo operator
View Single Post
#
2
10-17-2010, 09:55 AM
Matt L
Registered User
Join Date: Oct 2005
Posts: 4,263
Was there a question in there somewhere?
Note that in C, 500/60 is 8. No need for floor, as it is an integer operation. This can and does bite you with negative numbers, so be careful what you ask the compiler to do.
Matt L
View Public Profile
Find all posts by Matt L