@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.
@@ -731,7 +731,7 @@ var i18n_i18n;
731
731
  }
732
732
  else if (['D', 'F', 'C'].indexOf(type) >= 0) {
733
733
  var locale = getCurrentLocale();
734
- return number.toLocaleString(locale, getNumberFromatOptions(format));
734
+ return number.toLocaleString(locale, getNumberFormatOptions(format));
735
735
  }
736
736
  else {
737
737
  return convertWithMask(Math.trunc(number), format);
@@ -807,7 +807,7 @@ var i18n_i18n;
807
807
  }
808
808
  return result.split('').reverse().join('');
809
809
  }
810
- function getNumberFromatOptions(format) {
810
+ function getNumberFormatOptions(format) {
811
811
  var localeSettings = getLocaleSettings();
812
812
  var type = format[0].toUpperCase();
813
813
  var digits = (format.length > 1)
@@ -829,7 +829,8 @@ var i18n_i18n;
829
829
  default:
830
830
  return {
831
831
  style: 'decimal',
832
- minimumFractionDigits: digits
832
+ minimumFractionDigits: digits,
833
+ maximumFractionDigits: digits
833
834
  };
834
835
  }
835
836
  }