aboutsummaryrefslogtreecommitdiffstats
path: root/public/js/report.coffee
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2013-12-09 13:40:32 -0800
committerAdam Soltys <[email protected]>2013-12-09 13:40:39 -0800
commitbb9c452eb37be653a4f732d9852ca2dcdafba1bd (patch)
treedef5c5033688da6b0324e3699db87f4919a4df4d /public/js/report.coffee
parentd740936228b7ef5c14330def5ce6f574eadaf609 (diff)
downloadcoinos-server-bb9c452eb37be653a4f732d9852ca2dcdafba1bd.tar.gz
coinos-server-bb9c452eb37be653a4f732d9852ca2dcdafba1bd.zip
Fix rounding issues and switch to mBTC
Diffstat (limited to 'public/js/report.coffee')
-rw-r--r--public/js/report.coffee1
1 files changed, 1 insertions, 0 deletions
diff --git a/public/js/report.coffee b/public/js/report.coffee
index 6654c692..372abe7b 100644
--- a/public/js/report.coffee
+++ b/public/js/report.coffee
@@ -48,6 +48,7 @@ display = (transactions) ->
exchange = parseFloat(this.exchange)
received = parseFloat(this.received)
amount = received * exchange
+ received *= 1000
$('tbody').append("""
<tr>