aboutsummaryrefslogtreecommitdiffstats
path: root/public/js
diff options
context:
space:
mode:
authorRiku Raisanen <[email protected]>2013-12-01 20:10:57 -0800
committerRiku Raisanen <[email protected]>2013-12-01 20:10:57 -0800
commit8fe1e77bffbca013430dbf0bb2f9786f619ef533 (patch)
treef90497fc0e007255e057a3c412325d16f2effbb8 /public/js
parent06252a6d416602394248b4bd5ad5900021838649 (diff)
downloadcoinos-server-8fe1e77bffbca013430dbf0bb2f9786f619ef533.tar.gz
coinos-server-8fe1e77bffbca013430dbf0bb2f9786f619ef533.zip
Use five decimal points for Bitcoin amounts on the Transactions Reports page
Diffstat (limited to 'public/js')
-rw-r--r--public/js/report.coffee4
1 files 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) ->
<td>#{this.date}</td>
<td>#{this.address}</td>
<td>#{exchange.toFixed(2)}</td>
- <td>#{received.toFixed(2)}</td>
+ <td>#{received.toFixed(5)}</td>
<td>#{amount.toFixed(2)}</td>
</tr>
""")
@@ -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(->