From 8ed06843d175787306730858418d94b3baa186a7 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 20 Nov 2012 18:25:24 -0800 Subject: Number format --- public/js/report.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/report.coffee b/public/js/report.coffee index e045454e..4cf5def6 100644 --- a/public/js/report.coffee +++ b/public/js/report.coffee @@ -21,12 +21,12 @@ $(-> $('td:nth-child(4)').each(-> btc += parseFloat($(this).html()) ) - $('#btc').html(btc) + $('#btc').html(btc.toFixed(2)) cad = 0 $('td:nth-child(5)').each(-> cad += parseFloat($(this).html()) ) - $('#cad').html(cad) + $('#cad').html(cad.toFixed(2)) ) ) -- cgit v1.2.3