From a7452d61fac6211c079fc37717751c35285f2578 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sat, 31 Mar 2018 09:19:38 -0500 Subject: [PATCH] Use .significant instead of .round --- src/views/watch.ecr | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/watch.ecr b/src/views/watch.ecr index e6121a0c..5f251160 100644 --- a/src/views/watch.ecr +++ b/src/views/watch.ecr @@ -119,9 +119,9 @@ function toggle_comments(target) {

<%= number_with_separator(video.views) %>

<%= number_with_separator(video.likes) %>

<%= number_with_separator(video.dislikes) %>

-

Wilson Score : <%= video.wilson_score.round(4) %>

-

Rating : <%= rating.round(4) %> / 5

-

Engagement : <%= engagement.round(2) %>%

+

Wilson Score : <%= video.wilson_score.significant(4) %>

+

Rating : <%= rating.significant(4) %> / 5

+

Engagement : <%= engagement.significant(2) %>%