修改TB、PB、EB的有些计算错误

This commit is contained in:
刘祥超
2021-04-29 15:04:42 +08:00
parent 609794b2d8
commit 452f03bb78
4 changed files with 21 additions and 3 deletions

View File

@@ -37,6 +37,10 @@ Tea.context(function () {
return (bits / 1000 / 1000 / 1000) + "PB"
}
if (bits < 1000 * 1000 * 1000 * 1000 * 1000) {
return (bits / 1000 / 1000 / 1000 / 1000) + "EB"
}
return ""
}
})