Changed round value from 3 digits to 1 digit see issue#843
This commit is contained in:
parent
a8f92f6e3c
commit
216f36fda7
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