@fluxhub/fluxhub-lib 10.0.71 → 10.0.72

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.
@@ -8672,21 +8672,23 @@
8672
8672
  FHCurrencyFieldComponent.prototype.chg = function () {
8673
8673
  var _this = this;
8674
8674
  setTimeout(function () {
8675
- console.log(_this.formattedAmount.split(".").join("").split(",").join(""), parseFloat(_this.formattedAmount.split(".").join("").split(",").join("")), typeof _this.value);
8676
- /* if (this.decimal == 0)
8677
- this.value = parseFloat(
8678
- this.formattedAmount.split(".").join("").split(",").join("")
8679
- );
8680
- else
8681
- this.value = parseFloat(
8682
- this.formattedAmount.split(".").join("").split(",").join(".")
8683
- );*/
8684
- if (typeof _this.value == "string") {
8685
- if (_this.decimal == 0)
8686
- _this.value = parseFloat(_this.value.split(".").join("").split(",").join(""));
8687
- else
8688
- _this.value = parseFloat(_this.value.split(".").join("").split(",").join("."));
8689
- }
8675
+ console.log(_this.formattedAmount.split(".").join("").split(",").join(""), parseFloat(_this.formattedAmount.split(".").join("").split(",").join("")));
8676
+ if (_this.decimal == 0)
8677
+ _this.value = parseFloat(_this.formattedAmount.split(".").join("").split(",").join(""));
8678
+ else
8679
+ _this.value = parseFloat(_this.formattedAmount.split(".").join("").split(",").join("."));
8680
+ console.log('VALUE: ', _this.value);
8681
+ /*
8682
+ if (typeof this.value == "string") {
8683
+ if (this.decimal == 0)
8684
+ this.value = parseFloat(
8685
+ this.value.split(".").join("").split(",").join("")
8686
+ );
8687
+ else
8688
+ this.value = parseFloat(
8689
+ this.value.split(".").join("").split(",").join(".")
8690
+ );
8691
+ }*/
8690
8692
  if (isNaN(_this.value)) {
8691
8693
  console.log('this.value ', _this.value);
8692
8694
  _this.value = 0;