aboutsummaryrefslogtreecommitdiff
path: root/budget/templates/settle_bills.html
diff options
context:
space:
mode:
authorAlexis Metaireau <alexis@notmyidea.org>2014-07-22 20:55:51 +0200
committerAlexis Metaireau <alexis@notmyidea.org>2014-07-22 20:55:51 +0200
commitf8161b78728615c6c67a70985935ff7798921578 (patch)
treee2e90889ba2ab4ece2531bf612fb7e97204c3d75 /budget/templates/settle_bills.html
parent229fe41a0ceb207e8d6d4b24adfa0aa2c32b436d (diff)
parent79f24b7cb812f0fa0aa1b4bb82d23cbae87d540e (diff)
downloadihatemoney-mirror-f8161b78728615c6c67a70985935ff7798921578.zip
ihatemoney-mirror-f8161b78728615c6c67a70985935ff7798921578.tar.gz
ihatemoney-mirror-f8161b78728615c6c67a70985935ff7798921578.tar.bz2
Merge pull request #117 from aavenel/fix-rounding
Fix #116 : rounding error in balances
Diffstat (limited to 'budget/templates/settle_bills.html')
-rw-r--r--budget/templates/settle_bills.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/budget/templates/settle_bills.html b/budget/templates/settle_bills.html
index 29d9b26..4066b16 100644
--- a/budget/templates/settle_bills.html
+++ b/budget/templates/settle_bills.html
@@ -15,7 +15,7 @@
<tr id="bal-member-{{ member.id }}" action={% if member.activated %}delete{% else %}reactivate{% endif %}>
<td class="balance-name">{{ member.name }}</td>
<td class="balance-value {% if balance[member.id] > 0 %}positive{% elif balance[member.id] < 0 %}negative{% endif %}">
- {% if balance[member.id] > 0 %}+{% endif %}{{ balance[member.id] }}
+ {% if balance[member.id] > 0 %}+{% endif %}{{ "%.2f" | format(balance[member.id]) }}
</td>
</tr>
{% endfor %}