Roo/util/Format.js
authorjohn <john@roojs.com>
Tue, 12 Jun 2018 09:01:41 +0000 (17:01 +0800)
committerjohn <john@roojs.com>
Tue, 12 Jun 2018 09:01:41 +0000 (17:01 +0800)
Roo/util/Format.js

index 01a2d81..56f0943 100644 (file)
@@ -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;