From 3a1591786ca5c9d5df2f7bf51775e135034bf9b2 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 23 Dec 2016 13:43:13 +0800 Subject: [PATCH] ux/FlipCounter.js --- ux/FlipCounter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ux/FlipCounter.js b/ux/FlipCounter.js index 405d5b4f84..d96d241a43 100644 --- a/ux/FlipCounter.js +++ b/ux/FlipCounter.js @@ -120,7 +120,7 @@ Roo.extend(Roo.ux.FlipCounter, Roo.bootstrap.Component, { updateTo : function (num) { - var numStr = parseInt(num).toString(); + var numStr = (1.0*num).toFixed(this.decimal); this.currentNumber = num; // Change the number of digits displayed if needed -- 2.39.2