RWSN#38671 Ratio (%) kolom in usrraps voor de optelling beter niet zo sterk afronden

svn path=/Website/trunk/; revision=31965
This commit is contained in:
Peter Feij
2016-12-14 10:55:35 +00:00
parent 7d6ed65c9a
commit 338548f8ba

View File

@@ -312,7 +312,7 @@ function report_GET(params)
if (params.columns.length == 1)
shared.simpel_page(L("lcl_empty_rstable"));
this.fields["scf_ratio"] = { dbs: "scf_ratio", sql: "ROUND(RATIO_TO_REPORT(COUNT(*)) OVER() *100,2)", typ: "float", label: L("lcl_ratio"), orglabel: L("lcl_ratio"), total: true };
this.fields["scf_ratio"] = { dbs: "scf_ratio", sql: "ROUND(RATIO_TO_REPORT(COUNT(*)) OVER() *100, 4)", typ: "float", label: L("lcl_ratio"), orglabel: L("lcl_ratio"), total: true };
hasAggregate = true;
}
if (params.columns && params.groupby && params.groupby.length > 0)