From 190fb74605c0202d94e063f0cae17472d40ad137 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn?= Date: Wed, 12 Nov 2014 11:55:47 +0100 Subject: [PATCH] Feature #3264: Fix total formatting --- src/sunstone/public/js/sunstone.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sunstone/public/js/sunstone.js b/src/sunstone/public/js/sunstone.js index a5e955abda..d356a6477c 100644 --- a/src/sunstone/public/js/sunstone.js +++ b/src/sunstone/public/js/sunstone.js @@ -4995,7 +4995,7 @@ function fillShowback(div, req, response) { var showback_data = []; $.each(vms_per_date, function(year, months){ $.each(months, function(month, value){ - series.push([(new Date(year, month-1)).getTime(), year, month, $months[month-1] + " " + year, value.TOTAL]) + series.push([(new Date(year, month-1)).getTime(), year, month, $months[month-1] + " " + year, value.TOTAL.toFixed(2)]) showback_data.push([(new Date(year, month-1)), value.TOTAL.toFixed(2) ]) }) })