in reply to Re: simple search and print
in thread simple search and print

Uhh, 85.11 is less than 85.9 or even 85.4. However 85.4 - .5 = 84.9 so 85.11 does fall with +/- .5 of 85.4.

Decimals not version numbers.

Later

Replies are listed 'Best First'.
Re: Re: Re: simple search and print
by Limbic~Region (Chancellor) on Feb 24, 2004 at 23:43 UTC
    pzbagel,
    Well isn't a good thing that I went ahead and wrote the code anyway? For some reason my brain was not processing the decimal place correctly. It was seeing 4 + 5 = 9 < 11 so wrong. The code should however work regardless of my confusion.

    Thanks - L~R