Permalink
Browse files

Displaying percentages instead of ration for metrics

  • Loading branch information...
1 parent b217daa commit c8890407aeb5ea8c49058754581ff2d2880f8c03 @yacc committed Jun 25, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/stripemetrics/client/report.rb
@@ -35,8 +35,8 @@ def display_row(metric)
column(metric['name'])
column(metric['this_month'])
column(metric['last_month'])
- column(metric['change'])
- column(metric['tsm_avrg'])
+ column("#{(metric['change'].round(2)*100)}%")
+ column("#{metric['tsm_avrg'].round(2)*100}%")
column(metric['goal'])
end
end

0 comments on commit c889040

Please sign in to comment.