Show user satisfaction in percentages
This commit is contained in:
parent
26e0ada3d4
commit
50019e5317
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ class StatsController < ApplicationController
|
||||||
total = totals[week]
|
total = totals[week]
|
||||||
|
|
||||||
if total > 0
|
if total > 0
|
||||||
[week, (count.to_f / total).round(2)]
|
[week, (count.to_f / total * 100).round(2)]
|
||||||
else
|
else
|
||||||
0
|
0
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue