Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

Show correct precision on account page

Zach Gollwitzer7dfd7408c791
diff --git a/app/views/accounts/show.html.erb b/app/views/accounts/show.html.erb
index b80a0581..d9041766 100644
--- a/app/views/accounts/show.html.erb
+++ b/app/views/accounts/show.html.erb
@@ -68,7 +68,7 @@
</div>
<%= render "tooltip", account: @account if @account.investment? %>
</div>
- <%= tag.p format_money(@account.value, precision: 0), class: "text-gray-900 text-3xl font-medium" %>
+ <%= tag.p format_money(@account.value), class: "text-gray-900 text-3xl font-medium" %>
<div>
<% if @series.trend.direction.flat? %>
<%= tag.span t(".no_change"), class: "text-gray-500" %>