@fluxhub/fluxhub-lib 1.0.573 → 1.0.574

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.
@@ -11925,9 +11925,12 @@ var FHNumericFieldComponent = /** @class */ (function () {
11925
11925
  fraction = fractionSize > 0
11926
11926
  ? ',' + (fraction + '000000').substring(0, fractionSize)
11927
11927
  : "";
11928
- integer = integer.replace(/\B(?=(\d{3})+(?!\d))/g, this.th_character);
11928
+ if (this.th_character != '')
11929
+ integer = integer.replace(/\B(?=(\d{3})+(?!\d))/g, this.th_character);
11929
11930
  if (integer == '')
11930
11931
  integer = '0';
11932
+ if (this.decimal == 0)
11933
+ return integer;
11931
11934
  // console.log(integer + fraction);
11932
11935
  return integer + fraction;
11933
11936
  };