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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user