Roo/util/Format.js
authorAlan Knowles <alan@roojs.com>
Fri, 15 Jun 2018 03:08:24 +0000 (11:08 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 15 Jun 2018 03:08:24 +0000 (11:08 +0800)
Roo/util/Format.js

index b23185b..25a1d4c 100644 (file)
@@ -171,9 +171,10 @@ Roo.util.Format = function(){
          * eventually this should probably emulate php's number_format
          * @param {Number/String} value The numeric value to format
          * @param {Number} decimals number of decimal places
+         * @param {String} delimiter for thousands (default comma)
          * @return {String} The formatted currency string
          */
-        number : function(v, decimals, thousandsDelimiter = ',')
+        number : function(v, decimals, thousandsDelimiter)
         {
             // multiply and round.
             decimals = typeof(decimals) == 'undefined' ? 2 : decimals;