spamassassin-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzilla-dae...@bugzilla.spamassassin.org
Subject [Bug 3238] Score below 10 is not zero-padded causes bad sorting
Date Fri, 03 Sep 2004 18:46:02 GMT
http://bugzilla.spamassassin.org/show_bug.cgi?id=3238





------- Additional Comments From felicity@kluge.net  2004-09-03 11:46 -------
Subject: Re:  Score below 10 is not zero-padded causes bad sorting

On Fri, Sep 03, 2004 at 11:44:09AM -0700, bugzilla-daemon@bugzilla.spamassassin.org wrote:
> How about something like:
> _PADSCORE( )_: " 1.00", "12.00", "123.00"
> _PADSCORE(  )_: "  1.00", " 12.00", "123.00"
> _PADSCORE(0)_: "01.00", "12.00", "123.00"
> _PADSCORE(00)_: "001.00", "012.00", "123.00"

Just to note, ( ) and (0) are easy, (  ) and (00) require a change to the
printf field width.  Depending on the implementation, they'd be the same
thing, but ...





------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Mime
View raw message