diff options
| author | Adam Soltys <[email protected]> | 2012-11-20 18:25:24 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2012-11-20 18:25:34 -0800 |
| commit | 8ed06843d175787306730858418d94b3baa186a7 (patch) | |
| tree | 07aab82c0059251eb63233ebc38152275f970472 | |
| parent | b49d9ff9fa0e6a9fca55164991d15f8eb2f16e29 (diff) | |
| download | coinos-server-8ed06843d175787306730858418d94b3baa186a7.tar.gz coinos-server-8ed06843d175787306730858418d94b3baa186a7.zip | |
Number format
| -rw-r--r-- | public/js/report.coffee | 4 |
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)) ) ) |
