From d5fe1279bde7d9d0df542b2be244ac94a8289d8d Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Thu, 7 May 2020 16:34:14 +0200 Subject: [PATCH] REFACTOR: value assigned to precision here is unused (#9673) --- app/assets/javascripts/locales/i18n.js | 1 - 1 file changed, 1 deletion(-) diff --git a/app/assets/javascripts/locales/i18n.js b/app/assets/javascripts/locales/i18n.js index 42ac6343593..e0f7019a08e 100644 --- a/app/assets/javascripts/locales/i18n.js +++ b/app/assets/javascripts/locales/i18n.js @@ -202,7 +202,6 @@ I18n.toNumber = function(number, options) { formattedNumber; number = parts[0]; - precision = parts[1]; while (number.length > 0) { buffer.unshift(number.substr(Math.max(0, number.length - 3), 3));