projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b48f4f5
)
Roo/util/Format.js
author
Alan Knowles
<alan@roojs.com>
Mon, 17 Sep 2012 10:32:46 +0000
(18:32 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 17 Sep 2012 10:32:46 +0000
(18:32 +0800)
Roo/util/Format.js
patch
|
blob
|
history
diff --git
a/Roo/util/Format.js
b/Roo/util/Format.js
index
be9765e
..
22bb668
100644
(file)
--- a/
Roo/util/Format.js
+++ b/
Roo/util/Format.js
@@
-197,7
+197,9
@@
Roo.util.Format = function(){
var sub = ps[1] ?
- (decimals ? ('.'+ zero.substring(ps[1].length) + ps[1]) : '') :
+ // has decimals..
+ (decimals ? ('.'+ ps[1] + zero.substring(ps[1].length) : '') :
+ // does not have decimals
(decimals ? ('.' + zero) : '');