intelica-library-ui 0.1.168 → 0.1.169

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.
@@ -813,14 +813,14 @@ class SharedService {
813
813
  .replace("-", "(") + " K)";
814
814
  }
815
815
  else if (amount < 1000)
816
- resultado = this.Roundgen(amount, 1).toString();
816
+ resultado = this.Roundgen(amount, 0).toString();
817
817
  else if (1000000000 < amount)
818
818
  resultado = this.Roundgen(amount / 1000000000, 1).toString() + " B";
819
819
  else if (1000000 < amount)
820
820
  resultado = this.Roundgen(amount / 1000000, 1).toString() + " M";
821
821
  else
822
822
  resultado = this.Roundgen(amount / 1000, 1).toString() + " K";
823
- if (resultado.indexOf(".") === -1 && amount !== 0) {
823
+ if (resultado.indexOf(".") === -1 && amount !== 0 && amount >= 1000) {
824
824
  let a = resultado;
825
825
  let b = ".0";
826
826
  let output = a + b;