From 8fe1e77bffbca013430dbf0bb2f9786f619ef533 Mon Sep 17 00:00:00 2001 From: Riku Raisanen Date: Sun, 1 Dec 2013 20:10:57 -0800 Subject: Use five decimal points for Bitcoin amounts on the Transactions Reports page --- public/js/report.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/report.coffee b/public/js/report.coffee index ab5da2b9..6654c692 100644 --- a/public/js/report.coffee +++ b/public/js/report.coffee @@ -54,7 +54,7 @@ display = (transactions) -> #{this.date} #{this.address} #{exchange.toFixed(2)} - #{received.toFixed(2)} + #{received.toFixed(5)} #{amount.toFixed(2)} """) @@ -64,7 +64,7 @@ display = (transactions) -> $('td:nth-child(4)').each(-> btc += parseFloat($(this).html()) ) - $('#btc').html(btc.toFixed(2)) + $('#btc').html(btc.toFixed(5)) cad = 0 $('td:nth-child(5)').each(-> -- cgit v1.2.3