From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_20,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b1850e397df49d95 X-Google-Attributes: gid103376,public From: Dave Barnes Subject: Re: How to convert an Fixed_Point to to an Integer ? Date: 1996/12/30 Message-ID: <32C833F1.1B92@it.postoffice.co.uk>#1/1 X-Deja-AN: 206751732 references: <01bbf058$cbdbf980$LocalHost@jerryware> content-type: text/plain; charset=us-ascii organization: Post Office iT mime-version: 1.0 newsgroups: comp.lang.ada x-mailer: Mozilla 2.02 (Win16; I) Date: 1996-12-30T00:00:00+00:00 List-Id: Steve Jones - JON wrote: > > > Each century is not a leap year (eg 1900 wasn't) but Millenia ARE leap years > so 2000 will be one. > Where has *this* come from? The rule is simply divisible by 4 except if a multiple of 100 when must be divisible by 400. So 1900 wasn't, 2000 will be and the year 3000 won't be a leap year (but I really don't give a damn about the last one). Dave Dave Barnes barnesd@it.postoffice.co.uk SSG, Quality Support * The views I express are mine. They may change at short notice *