Skip to content

Commit

Permalink
Show three digits after the decimal point for flagging conditions pre…
Browse files Browse the repository at this point in the history
…view
  • Loading branch information
makyen committed Sep 29, 2023
1 parent 6267b93 commit 1eb9088
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/flag_conditions/_preview.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<% if @true_positive_count.present? and @false_positive_count.present? %>
<h3><%= number_to_percentage(@true_positive_count.to_f * 100.0 / (@true_positive_count + @false_positive_count).to_f, precision: 2) %></h3>
<h3><%= number_to_percentage(@true_positive_count.to_f * 100.0 / (@true_positive_count + @false_positive_count).to_f, precision: 3) %></h3>
<table class="table">
<tr>
<th>True positives</th>
Expand Down

0 comments on commit 1eb9088

Please sign in to comment.