From b4037fd1a0d115dee40b7d20eec31c3875e4fa39 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sun, 17 Aug 2014 23:25:02 -0700 Subject: Let users configure BTC units --- public/js/report.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'public/js/report.coffee') diff --git a/public/js/report.coffee b/public/js/report.coffee index 90b7c0aa..99a0df25 100644 --- a/public/js/report.coffee +++ b/public/js/report.coffee @@ -64,7 +64,7 @@ display = (transactions) -> #{moment(this.date, 'YYYY-MM-DD h:mm:ss').format('MMM D h:mma')} #{exchange.toFixed(2)} - #{received.toFixed(5)} + #{received.toFixed(8)} #{amount.toFixed(2)} """) @@ -74,7 +74,7 @@ display = (transactions) -> $('table.report tbody td:nth-child(3)').each(-> btc += parseFloat($(this).html()) ) - $('#btc').html(btc.toFixed(5)) + $('#btc').html(btc.toFixed(8)) cad = 0 $('table.report tbody td:nth-child(4)').each(-> -- cgit v1.2.3