Perform a task if result is a whole number

Tech-Archive recommends: Fix windows errors by optimizing your registry



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?

.



Relevant Pages

  • Re: Looking for Conversation
    ... On 30/04/2007 10:11, Frogman wrote: ... You might meet yourself and end up in a loop (or is it leap) you can't get out of. ... aka Smite, Emits, Times, Mites, Items, Metis, Stime. ...
    (uk.people.silversurfers)
  • Re: Deleting x months old files
    ... How can I loop over these 4 months in order to come up with total ... You will need to adjust for leap years; ... A Problem-Solution Approach (2005, Apress) ...
    (comp.unix.shell)
  • Re: Argent Help
    ... Report ... To Use As The Upper Bound Of A Loop Of Sections Because With A Worng ... if you will tell us what you are trying to accomplish rather than how you ... I've written a lot of reports, often used VBA code with them, and never had ...
    (microsoft.public.access.reports)
  • Re: Is This Good?
    ... tblPrinters, using a Query joining your form's table to tblPrinters by ... txtNumber into an integer variable and loop on that - or, even better, ... I have no idea what this is intended to accomplish. ... you set txtEmpty using NZ so it's either a number or ...
    (microsoft.public.access.formscoding)
  • Re: Character Repeat
    ... I've tried a few ways in javascript to accomplish this, ... A while or do..while loop ... TP/BP/Delphi/jscr/&c, FAQ items, links. ...
    (comp.lang.javascript)