@colijnit/corecomponents_v12 258.1.15 → 258.1.16

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.
@@ -10588,7 +10588,7 @@
10588
10588
  }
10589
10589
  else if (typeof value === 'number') {
10590
10590
  var hasDecimal = function (num) { return !Number.isInteger(num); };
10591
- return hasDecimal ? value.toFixed(2) : value.toFixed(0);
10591
+ return hasDecimal(value) ? value.toFixed(2) : value.toFixed(0);
10592
10592
  }
10593
10593
  else if (Array.isArray(value)) {
10594
10594
  return value.join(', ');