aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2013-11-14 14:24:03 -0800
committerAdam Soltys <[email protected]>2013-11-14 14:24:03 -0800
commit2f5586dbaa53ec2a6ac3740dde2c937a53165ce6 (patch)
tree22e3f1f51108ccd79a8a9bf43a21fd4a3107917c
parent8e6b6805c4bc8493f8108f896ccf4f67dbd0b95d (diff)
downloadcoinos-server-2f5586dbaa53ec2a6ac3740dde2c937a53165ce6.tar.gz
coinos-server-2f5586dbaa53ec2a6ac3740dde2c937a53165ce6.zip
Use millibits
-rw-r--r--public/js/calculator.coffee2
-rw-r--r--views/calculator/show.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/public/js/calculator.coffee b/public/js/calculator.coffee
index f61c3b79..2de19ee9 100644
--- a/public/js/calculator.coffee
+++ b/public/js/calculator.coffee
@@ -151,7 +151,7 @@ setupSocket = ->
updateTotal = ->
amount = parseFloat($('#amount').val())
total = amount / g.exchange
- total = Math.ceil(total * 10000) / 10000
+ total = Math.ceil(total * 10000) / 10
unless $.isNumeric(total)
total = ''
diff --git a/views/calculator/show.html b/views/calculator/show.html
index 61b05a20..0a34bf41 100644
--- a/views/calculator/show.html
+++ b/views/calculator/show.html
@@ -27,7 +27,7 @@
<br /><br />
<div id="payment">
- <p>Please send <strong id="total">0.0</strong> bitcoins to:</p><br />
+ <p>Please send <strong id="total">0.0</strong> mBTC to:</p><br />
<p id="address"></p>
<div id="qr"></div>