changed avg values from integer to float values with one decimal precision. As suggested by Steven Aerts in #683

git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@789 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
lrbalt 2008-04-03 18:21:36 +00:00
parent 4a06076425
commit 72d5041cc6

View file

@ -2,10 +2,10 @@
The Max-/minimum days to complete is <%= (@actions_max_ttc*10).round/10.0%>/<%= (@actions_min_ttc*10).round/10.0 %>.
The minimum time to complete is <%= @actions_min_ttc_sec %></p>
<p>In the last 30 days you created on average <%=@sum_actions_created_last30days/30%> actions
and completed on average <%=@sum_actions_done_last30days/30%> actions per day.
In the last 12 months you created on average <%=@sum_actions_created_last12months/12 %> actions
and completed on average <%=@sum_actions_done_last12months/12%> actions per month.</p>
<p>In the last 30 days you created on average <%=(@sum_actions_created_last30days*10.0/30.0).round/10.0 %> actions
and completed on average <%=(@sum_actions_done_last30days*10.0/30.0).round/10.0%> actions per day.
In the last 12 months you created on average <%=(@sum_actions_created_last12months*10.0/12.0).round/10.0 %> actions
and completed on average <%= (@sum_actions_done_last12months*10.0/12.0).round/10.0%> actions per month.</p>
<% %w{ actions_done_last30days_data
actions_done_last12months_data