diff --git a/plugins/mezuro/views/content_viewer/_module_result.rhtml b/plugins/mezuro/views/content_viewer/_module_result.rhtml index cf4ec24..882869c 100644 --- a/plugins/mezuro/views/content_viewer/_module_result.rhtml +++ b/plugins/mezuro/views/content_viewer/_module_result.rhtml @@ -19,7 +19,7 @@ <% range = metric_result.range %> <%= metric_result.metric.name %> - <%= metric_result.value %> + <%= metric_result.value.to_f.round(2).to_s %> <%= metric_result.weight %> <% if range.nil? %> @@ -34,7 +34,7 @@ <%= _('Grade:') %> - <%= module_result.grade %> + <%= module_result.grade.to_f.round(2).to_s %> -- libgit2 0.21.2