@wavy/fn 0.0.24 → 0.0.25
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/main.cjs +1 -1
- package/dist/main.js +1 -1
- package/package.json +1 -1
package/dist/main.cjs
CHANGED
|
@@ -218,7 +218,7 @@ var NumberFormatter = class _NumberFormatter {
|
|
|
218
218
|
};
|
|
219
219
|
let amount2 = parseInt(decimal) > 0 ? `${value}.${decimal}` : value;
|
|
220
220
|
if (amount2.includes("-")) {
|
|
221
|
-
amount2 = "-" + dollarSign + amount2;
|
|
221
|
+
amount2 = "-" + dollarSign + amount2.replaceAll("-", "");
|
|
222
222
|
} else {
|
|
223
223
|
amount2 = dollarSign + amount2;
|
|
224
224
|
}
|
package/dist/main.js
CHANGED
|
@@ -116,7 +116,7 @@ var NumberFormatter = class _NumberFormatter {
|
|
|
116
116
|
};
|
|
117
117
|
let amount2 = parseInt(decimal) > 0 ? `${value}.${decimal}` : value;
|
|
118
118
|
if (amount2.includes("-")) {
|
|
119
|
-
amount2 = "-" + dollarSign + amount2;
|
|
119
|
+
amount2 = "-" + dollarSign + amount2.replaceAll("-", "");
|
|
120
120
|
} else {
|
|
121
121
|
amount2 = dollarSign + amount2;
|
|
122
122
|
}
|