Index: src/js/i18n.js |
diff --git a/src/js/i18n.js b/src/js/i18n.js |
index 780b2aaf95fc980066d19c2f75cb638f953c323c..949595abdb6f509504ac7705dba9c3dc2a373713 100644 |
--- a/src/js/i18n.js |
+++ b/src/js/i18n.js |
@@ -1115,7 +1115,7 @@ function initializeNumberFormat(numberFormat, locales, options) { |
if (!IS_UNDEFINED(mxfd) || internalOptions.style !== 'currency') { |
var min_mxfd = internalOptions.style === 'percent' ? 0 : 3; |
mnfd = IS_UNDEFINED(mnfd) ? 0 : mnfd; |
- fallback_limit = (mnfd > min_mxfd) ? mnfd : min_mxfd; |
+ var fallback_limit = (mnfd > min_mxfd) ? mnfd : min_mxfd; |
mxfd = getNumberOption(options, 'maximumFractionDigits', mnfd, 20, fallback_limit); |
defineWEProperty(internalOptions, 'maximumFractionDigits', mxfd); |
} |