fix the problem that the thousands separator is missing

This commit is contained in:
MaysWind
2023-08-20 00:57:01 +08:00
parent 72725d5ab4
commit 77d3bd019e
+2
View File
@@ -28,6 +28,8 @@ export function numericCurrencyToString(num, enableThousandsSeparator, trimTailZ
}
}
integer = appendThousandsSeparator(integer, enableThousandsSeparator);
if (decimals !== '') {
str = `${integer}.${decimals}`;
} else {