Well, I think that better than comparing the rounded number, we should instead
compare the real numbers, and just round down instead.  So 4.99999 would be
displayed as 4.9 not 5.0 -- it's less mathematically correct, but makes it
clearer why 5.0 < 5.0 sometimes.

C

Derek Broughton wrote:

DB> > Might be worth doing the check on the rounded number, just to eliminate
DB> > the visual confusion.
DB>
DB> I wouldn't say _just_ to eliminate the visual confusion.  If the header had
DB> been:
DB>   X-Spam-Status: No, hits=4.9999999 required=5.0
DB> it would have been correct.  If the header tells me the hit count was 5.0,
DB> then the comparison should be using the same number.
DB>
DB> _______________________________________________________________
DB>
DB> Have big pipes? SourceForge.net is looking for download mirrors. We supply
DB> the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
DB> _______________________________________________
DB> Spamassassin-talk mailing list
DB> [EMAIL PROTECTED]
DB> https://lists.sourceforge.net/lists/listinfo/spamassassin-talk
DB>
DB>
DB>


_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to