From 483161b1cd4f0308c784344edb6ee76bd7ed79a9 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 15 Jun 2018 11:08:24 +0800 Subject: [PATCH] Roo/util/Format.js --- Roo/util/Format.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Roo/util/Format.js b/Roo/util/Format.js index b23185b4ef..25a1d4c177 100644 --- a/Roo/util/Format.js +++ b/Roo/util/Format.js @@ -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; -- 2.39.2