diff options
| -rw-r--r-- | public/js/calculator.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/calculator.coffee b/public/js/calculator.coffee index fde28652..4acb0f50 100644 --- a/public/js/calculator.coffee +++ b/public/js/calculator.coffee @@ -151,7 +151,7 @@ updateTotal = -> precision = 9 - multiplier().toString().length amount = parseFloat($('#amount').val() * g.tip) total = (amount * multiplier() / g.exchange).toFixed(precision) - g.amount_requested = total + g.amount_requested = (amount / g.exchange).toFixed(8) unless $.isNumeric(total) total = '' |
