Merge branch 'private-jn_843' into develop

This commit is contained in:
Martin Edenhofer 2017-03-15 16:51:37 +01:00
commit 2d48100792
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@ class Stats::TicketLoadMeasure
end end
if total.nonzero? if total.nonzero?
load_measure_precent = ( count.to_f / (total.to_f / 100) ).round(3) load_measure_precent = ( count.to_f / (total.to_f / 100) ).round(1)
end end
{ {
used_for_average: load_measure_precent, used_for_average: load_measure_precent,

View file

@ -25,7 +25,7 @@ class Stats::TicketReopen
reopen_in_precent = 0 reopen_in_precent = 0
if total.nonzero? if total.nonzero?
reopen_in_precent = ( count.to_f / (total.to_f / 100) ).round(3) reopen_in_precent = ( count.to_f / (total.to_f / 100) ).round(1)
end end
{ {
used_for_average: reopen_in_precent, used_for_average: reopen_in_precent,