mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-03 14:31:47 +01:00
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:
parent
4a06076425
commit
72d5041cc6
1 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue