projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ux/FlipCounter.js
[roojs1]
/
ux
/
FlipCounter.js
diff --git
a/ux/FlipCounter.js
b/ux/FlipCounter.js
index
405d5b4
..
d96d241
100644
(file)
--- 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