diff options
-rw-r--r-- | app/views/timelog/_report_criteria.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/timelog/_report_criteria.rhtml b/app/views/timelog/_report_criteria.rhtml index e4f5fa39a..0b7e91cfd 100644 --- a/app/views/timelog/_report_criteria.rhtml +++ b/app/views/timelog/_report_criteria.rhtml @@ -6,7 +6,7 @@ <% hours_for_value = select_hours(hours, criterias[level], value.id) %> <% @periods.each do |period| %> <% sum = sum_hours(select_hours(hours_for_value, @columns, period.to_s)) %> - <td align="center"><%= sum > 0 ? sum : "-" %></td> + <td align="center"><%= sum > 0 ? "%.2f" % sum : "-" %></td> <% end %> </tr> <% if criterias.length > level+1 %> |