projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52ec2e5
)
Roo/util/Format.js
author
john
<john@roojs.com>
Tue, 12 Jun 2018 09:01:41 +0000
(17:01 +0800)
committer
john
<john@roojs.com>
Tue, 12 Jun 2018 09:01:41 +0000
(17:01 +0800)
Roo/util/Format.js
patch
|
blob
|
history
diff --git
a/Roo/util/Format.js
b/Roo/util/Format.js
index
01a2d81
..
56f0943
100644
(file)
--- a/
Roo/util/Format.js
+++ b/
Roo/util/Format.js
@@
-173,7
+173,7
@@
Roo.util.Format = function(){
* @param {Number} decimals number of decimal places
* @return {String} The formatted currency string
*/
- number : function(v,
decimals
)
+ number : function(v,
decimals, thousandsDelimiter = ','
)
{
// multiply and round.
decimals = typeof(decimals) == 'undefined' ? 2 : decimals;