mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 17:54:30 +08:00
fix the problem that the thousands separator is missing
This commit is contained in:
@@ -28,6 +28,8 @@ export function numericCurrencyToString(num, enableThousandsSeparator, trimTailZ
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
integer = appendThousandsSeparator(integer, enableThousandsSeparator);
|
||||||
|
|
||||||
if (decimals !== '') {
|
if (decimals !== '') {
|
||||||
str = `${integer}.${decimals}`;
|
str = `${integer}.${decimals}`;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user