aboutsummaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/js/calculator.coffee2
1 files changed, 1 insertions, 1 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 = ''