Commit 0b8bfd3a by Kevin Chugh

add back decimal

parent dda4a219
...@@ -149,7 +149,7 @@ namespace :kpis do ...@@ -149,7 +149,7 @@ namespace :kpis do
puts "Total Threads: #{threads.count}" puts "Total Threads: #{threads.count}"
puts "Total Orphaned Threads: #{orphans.count}" puts "Total Orphaned Threads: #{orphans.count}"
if threads.count > 0 if threads.count > 0
puts "Orphan Ratio: #{(ratio*1000).round/10}%" puts "Orphan Ratio: #{(ratio*1000).round.to_f/10.0}%"
end end
puts "\n\n\n" puts "\n\n\n"
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment