Perform a task if result is a whole number
I am trying to include some logic that will determine leap years. I
want to perform a given loop if the year is evenly divisible by 4. So,
if year/4 = a whole number, then do the loop.
What is the easiest way to accomplish this?
|