@rabex-kit/rabex-ui 0.1.9 → 0.1.10

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.
@@ -477,17 +477,6 @@ var _isDecimalValid = function isDecimalValid(val, dec) {
477
477
  var stringVal = val.toString();
478
478
  return stringVal.indexOf('.') >= 0 ? !(stringVal.split('.')[1].length > dec) : true;
479
479
  };
480
- /**
481
- * Prevent Scientific Notation
482
- */
483
- var _preventScientific = function preventScientific(num, digits, separator) {
484
- var numString = typeof num === 'number' ? num.toString() : num;
485
- // Check for scientific notation
486
- if (numString.toLowerCase().includes('e')) {
487
- return bigDecimal.getPrettyValue(numString, digits, separator);
488
- }
489
- return numString;
490
- };
491
480
  var numberUtils = {
492
481
  delimiter: function delimiter(num, separator, separateBy) {
493
482
  return _delimiter(num, separator, separateBy);
@@ -507,9 +496,6 @@ var numberUtils = {
507
496
  toEn: function toEn(val) {
508
497
  return _toEn(val);
509
498
  },
510
- preventScientific: function preventScientific(num) {
511
- return _preventScientific(num);
512
- },
513
499
  suffix: suffix,
514
500
  bigDecimal: bigDecimal,
515
501
  modulus: bigDecimal.modulus,