aboutsummaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorAnthony Tsui <[email protected]>2014-07-22 17:12:07 -0700
committerAnthony Tsui <[email protected]>2014-07-22 17:12:07 -0700
commit3082e274b70a93fdac8a9a63934252ed914fe406 (patch)
tree5735dfe35ee4721e9f80d03958193528c8f69a7c /public
parentcf38dbcfd494eec9bc479845d918f1354197321f (diff)
downloadcoinos-server-3082e274b70a93fdac8a9a63934252ed914fe406.tar.gz
coinos-server-3082e274b70a93fdac8a9a63934252ed914fe406.zip
Switch back to BTC from mBTC
Diffstat (limited to 'public')
-rw-r--r--public/js/calculator.coffee2
-rw-r--r--public/js/report.coffee1
2 files changed, 1 insertions, 2 deletions
diff --git a/public/js/calculator.coffee b/public/js/calculator.coffee
index f035855e..8d7040f1 100644
--- a/public/js/calculator.coffee
+++ b/public/js/calculator.coffee
@@ -166,7 +166,7 @@ setupSocket = ->
updateTotal = ->
amount = parseFloat($('#amount').val() * tip)
- total = (amount * 1000 / g.exchange).toFixed(5)
+ total = (amount / g.exchange).toFixed(5)
g.receivable = (amount / g.exchange).toFixed(8)
unless $.isNumeric(total)
diff --git a/public/js/report.coffee b/public/js/report.coffee
index 9f8a011b..c152e0d9 100644
--- a/public/js/report.coffee
+++ b/public/js/report.coffee
@@ -59,7 +59,6 @@ display = (transactions) ->
exchange = parseFloat(this.exchange)
received = parseFloat(this.received)
amount = received * exchange
- received *= 1000
$('.report tbody').append("""
<tr>