@fluxhub/fluxhub-lib 1.0.573 → 1.0.575

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.
@@ -11947,9 +11947,12 @@
11947
11947
  fraction = fractionSize > 0
11948
11948
  ? ',' + (fraction + '000000').substring(0, fractionSize)
11949
11949
  : "";
11950
- integer = integer.replace(/\B(?=(\d{3})+(?!\d))/g, this.th_character);
11950
+ if (this.th_character != '')
11951
+ integer = integer.replace(/\B(?=(\d{3})+(?!\d))/g, this.th_character);
11951
11952
  if (integer == '')
11952
11953
  integer = '0';
11954
+ if (this.decimal == 0)
11955
+ return integer;
11953
11956
  // console.log(integer + fraction);
11954
11957
  return integer + fraction;
11955
11958
  };