diff options
Diffstat (limited to 'app/views/admins/_stats.haml')
-rw-r--r-- | app/views/admins/_stats.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admins/_stats.haml b/app/views/admins/_stats.haml index ad74a7ab6..748eff9ee 100644 --- a/app/views/admins/_stats.haml +++ b/app/views/admins/_stats.haml @@ -38,8 +38,8 @@ .row %p.col-md-12.alert.alert-info.text-center{role: "alert"} != t("admins.stats.current_segment", - post_yest: content_tag(:strong, posts[:yesterday] / user_count), - post_day: content_tag(:strong, posts[:day_before] / user_count)) + post_yest: content_tag(:strong, "%0.2f" % (posts[:yesterday] / user_count)), + post_day: content_tag(:strong, "%0.2f" % (posts[:day_before] / user_count))) .row .col-md-12 |