@easydata/crud 1.4.5 → 1.4.6-rc01

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3335,7 +3335,7 @@ var i18n;
3335
3335
  }
3336
3336
  else if (['D', 'F', 'C'].indexOf(type) >= 0) {
3337
3337
  var locale = getCurrentLocale();
3338
- return number.toLocaleString(locale, getNumberFromatOptions(format));
3338
+ return number.toLocaleString(locale, getNumberFormatOptions(format));
3339
3339
  }
3340
3340
  else {
3341
3341
  return convertWithMask(Math.trunc(number), format);
@@ -3411,7 +3411,7 @@ var i18n;
3411
3411
  }
3412
3412
  return result.split('').reverse().join('');
3413
3413
  }
3414
- function getNumberFromatOptions(format) {
3414
+ function getNumberFormatOptions(format) {
3415
3415
  var localeSettings = getLocaleSettings();
3416
3416
  var type = format[0].toUpperCase();
3417
3417
  var digits = (format.length > 1)
@@ -3433,7 +3433,8 @@ var i18n;
3433
3433
  default:
3434
3434
  return {
3435
3435
  style: 'decimal',
3436
- minimumFractionDigits: digits
3436
+ minimumFractionDigits: digits,
3437
+ maximumFractionDigits: digits
3437
3438
  };
3438
3439
  }
3439
3440
  }