fix
This commit is contained in:
1 parent
14462000c5
commit
477197faef
2 files changed
+10
-3
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user