@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.
@@ -472,17 +472,6 @@ var _isDecimalValid = function isDecimalValid(val, dec) {
472
472
  var stringVal = val.toString();
473
473
  return stringVal.indexOf('.') >= 0 ? !(stringVal.split('.')[1].length > dec) : true;
474
474
  };
475
- /**
476
- * Prevent Scientific Notation
477
- */
478
- var _preventScientific = function preventScientific(num, digits, separator) {
479
- var numString = typeof num === 'number' ? num.toString() : num;
480
- // Check for scientific notation
481
- if (numString.toLowerCase().includes('e')) {
482
- return bigDecimal.getPrettyValue(numString, digits, separator);
483
- }
484
- return numString;
485
- };
486
475
  var numberUtils = {
487
476
  delimiter: function delimiter(num, separator, separateBy) {
488
477
  return _delimiter(num, separator, separateBy);
@@ -502,9 +491,6 @@ var numberUtils = {
502
491
  toEn: function toEn(val) {
503
492
  return _toEn(val);
504
493
  },
505
- preventScientific: function preventScientific(num) {
506
- return _preventScientific(num);
507
- },
508
494
  suffix: suffix,
509
495
  bigDecimal: bigDecimal,
510
496
  modulus: bigDecimal.modulus,