Merge branch 'private-jn_843' into develop
This commit is contained in:
commit
2d48100792
2 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ class Stats::TicketLoadMeasure
|
|||
end
|
||||
|
||||
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
|
||||
{
|
||||
used_for_average: load_measure_precent,
|
||||
|
|
|
@ -25,7 +25,7 @@ class Stats::TicketReopen
|
|||
|
||||
reopen_in_precent = 0
|
||||
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
|
||||
{
|
||||
used_for_average: reopen_in_precent,
|
||||
|
|
Loading…
Reference in a new issue