This commit is contained in:
2025-05-09 21:04:56 +08:00
parent 14462000c5
commit 477197faef
2 changed files with 10 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ export function getACRateNumber(acCount: number, totalCount: number) {
if (acCount >= totalCount) rate = "100.00"
else rate = ((acCount / totalCount) * 100).toFixed(2)
}
return Number(rate)
return parseFloat(rate)
}
export function filterEmptyValue(object: any) {