aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2012-11-20 18:25:24 -0800
committerAdam Soltys <[email protected]>2012-11-20 18:25:34 -0800
commit8ed06843d175787306730858418d94b3baa186a7 (patch)
tree07aab82c0059251eb63233ebc38152275f970472
parentb49d9ff9fa0e6a9fca55164991d15f8eb2f16e29 (diff)
downloadcoinos-server-8ed06843d175787306730858418d94b3baa186a7.tar.gz
coinos-server-8ed06843d175787306730858418d94b3baa186a7.zip
Number format
-rw-r--r--public/js/report.coffee4
1 files 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))
)
)