Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

Move to 3 decimal place precision for loans (#2245)

Alex Hatzenbuhler6917cecf33cd
diff --git a/app/views/loans/_overview.html.erb b/app/views/loans/_overview.html.erb
index f04ccc49..e1649583 100644
--- a/app/views/loans/_overview.html.erb
+++ b/app/views/loans/_overview.html.erb
@@ -11,7 +11,7 @@
<%= summary_card title: t(".interest_rate") do %>
<% if account.loan.interest_rate.present? %>
- <%= number_to_percentage(account.loan.interest_rate, precision: 2) %>
+ <%= number_to_percentage(account.loan.interest_rate, precision: 3) %>
<% else %>
<%= t(".unknown") %>
<% end %>