sigo-package 1.2.97 → 1.2.98
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.
- package/dist/index.js +3 -0
- package/dist/index.mjs +3 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -15446,6 +15446,7 @@ __name(formatNumberSmart, "formatNumberSmart");
|
|
|
15446
15446
|
|
|
15447
15447
|
// src/shared/Utils/formatCurrencyV1.ts
|
|
15448
15448
|
function formatCurrencyV1(num, maximumFractionDigits = 2, symbol = "$") {
|
|
15449
|
+
if (Math.abs(num) < 1e-10) num = 0;
|
|
15449
15450
|
const options = {
|
|
15450
15451
|
minimumFractionDigits: 0,
|
|
15451
15452
|
maximumFractionDigits
|
|
@@ -15456,6 +15457,7 @@ __name(formatCurrencyV1, "formatCurrencyV1");
|
|
|
15456
15457
|
|
|
15457
15458
|
// src/shared/Utils/formatPercentageV1.ts
|
|
15458
15459
|
function formatPercentageV1(num, maximumFractionDigits = 2) {
|
|
15460
|
+
if (Math.abs(num) < 1e-10) num = 0;
|
|
15459
15461
|
const options = {
|
|
15460
15462
|
minimumFractionDigits: 0,
|
|
15461
15463
|
maximumFractionDigits
|
|
@@ -15466,6 +15468,7 @@ __name(formatPercentageV1, "formatPercentageV1");
|
|
|
15466
15468
|
|
|
15467
15469
|
// src/shared/Utils/formatNumberV1.ts
|
|
15468
15470
|
function formatNumberV1(num, maximumFractionDigits = 2) {
|
|
15471
|
+
if (Math.abs(num) < 1e-10) num = 0;
|
|
15469
15472
|
const options = {
|
|
15470
15473
|
minimumFractionDigits: 0,
|
|
15471
15474
|
maximumFractionDigits
|
package/dist/index.mjs
CHANGED
|
@@ -15291,6 +15291,7 @@ __name(formatNumberSmart, "formatNumberSmart");
|
|
|
15291
15291
|
|
|
15292
15292
|
// src/shared/Utils/formatCurrencyV1.ts
|
|
15293
15293
|
function formatCurrencyV1(num, maximumFractionDigits = 2, symbol = "$") {
|
|
15294
|
+
if (Math.abs(num) < 1e-10) num = 0;
|
|
15294
15295
|
const options = {
|
|
15295
15296
|
minimumFractionDigits: 0,
|
|
15296
15297
|
maximumFractionDigits
|
|
@@ -15301,6 +15302,7 @@ __name(formatCurrencyV1, "formatCurrencyV1");
|
|
|
15301
15302
|
|
|
15302
15303
|
// src/shared/Utils/formatPercentageV1.ts
|
|
15303
15304
|
function formatPercentageV1(num, maximumFractionDigits = 2) {
|
|
15305
|
+
if (Math.abs(num) < 1e-10) num = 0;
|
|
15304
15306
|
const options = {
|
|
15305
15307
|
minimumFractionDigits: 0,
|
|
15306
15308
|
maximumFractionDigits
|
|
@@ -15311,6 +15313,7 @@ __name(formatPercentageV1, "formatPercentageV1");
|
|
|
15311
15313
|
|
|
15312
15314
|
// src/shared/Utils/formatNumberV1.ts
|
|
15313
15315
|
function formatNumberV1(num, maximumFractionDigits = 2) {
|
|
15316
|
+
if (Math.abs(num) < 1e-10) num = 0;
|
|
15314
15317
|
const options = {
|
|
15315
15318
|
minimumFractionDigits: 0,
|
|
15316
15319
|
maximumFractionDigits
|