mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2023-06-08.git
synced 2024-08-15 00:53:38 +00:00
Use .significant instead of .round
This commit is contained in:
parent
dcda6b9cd1
commit
a7452d61fa
1 changed files with 3 additions and 3 deletions
|
@ -119,9 +119,9 @@ function toggle_comments(target) {
|
|||
<p><i class="fa fa-eye" aria-hidden="true"></i> <%= number_with_separator(video.views) %></p>
|
||||
<p><i class="fa fa-thumbs-up" aria-hidden="true"></i> <%= number_with_separator(video.likes) %></p>
|
||||
<p><i class="fa fa-thumbs-down" aria-hidden="true"></i> <%= number_with_separator(video.dislikes) %></p>
|
||||
<p id="Wilson">Wilson Score : <%= video.wilson_score.round(4) %></p>
|
||||
<p id="Rating">Rating : <%= rating.round(4) %> / 5</p>
|
||||
<p id="Engagement">Engagement : <%= engagement.round(2) %>%</p>
|
||||
<p id="Wilson">Wilson Score : <%= video.wilson_score.significant(4) %></p>
|
||||
<p id="Rating">Rating : <%= rating.significant(4) %> / 5</p>
|
||||
<p id="Engagement">Engagement : <%= engagement.significant(2) %>%</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue