@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.
- package/bundles/fluxhub-fluxhub-lib.umd.js +4 -1
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhnumeric.js +5 -2
- package/esm5/lib/controls/fhnumeric.js +5 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +4 -1
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +4 -1
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/package.json +1 -1
|
@@ -11947,9 +11947,12 @@
|
|
|
11947
11947
|
fraction = fractionSize > 0
|
|
11948
11948
|
? ',' + (fraction + '000000').substring(0, fractionSize)
|
|
11949
11949
|
: "";
|
|
11950
|
-
|
|
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
|
};
|