From 2f5586dbaa53ec2a6ac3740dde2c937a53165ce6 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 14 Nov 2013 14:24:03 -0800 Subject: Use millibits --- public/js/calculator.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public') 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 = '' -- cgit v1.2.3