From e7d89a3dad7d6910ea8ec70508be020839482937 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 21 Nov 2012 06:29:04 +0400 Subject: Number format --- public/js/report.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'public/js') diff --git a/public/js/report.coffee b/public/js/report.coffee index 78f89d8b..b8a85f3e 100644 --- a/public/js/report.coffee +++ b/public/js/report.coffee @@ -10,8 +10,8 @@ $(-> #{this.date} #{this.address} - #{this.exchange.toFixed(2)} - #{this.received.toFixed(2)} + #{parseFloat(this.exchange).toFixed(2)} + #{parseFloat(this.received).toFixed(2)} #{(this.received * this.exchange).toFixed(2)} """) -- cgit v1.2.3