You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2014/04/21 22:11:50 UTC
[Bug 7036] New: FEATREQ: Configurable precision in summary report
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=7036
Bug ID: 7036
Summary: FEATREQ: Configurable precision in summary report
Product: Spamassassin
Version: 3.3.2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Libraries
Assignee: dev@spamassassin.apache.org
Reporter: dfs@roaringpenguin.com
Hello,
Yes, I have read http://wiki.apache.org/spamassassin/RoundingIssues
I would like the number of decimal digits of precision in the summary report to
be configurable. Right now, it's hard-coded thusly:
$score = sprintf("%2.1f", $score);
in get_tag_value_for_score (Util.pm) and _get_tag_value_for_required_score
(PerMsgStatus.pm)
Could we change it to something like: sprintf("%2.${precision}f", $score),
where $precision is obtained from the SpamAssassin configuration, defaulting to
1?
Regards,
David.
--
You are receiving this mail because:
You are the assignee for the bug.