击败比例不需要%
This commit is contained in:
1 parent
c4ae0f32fb
commit
2c71ed63f9
1 file changed
+1
-1
+1
-1
@@ -178,4 +178,4 @@ class ProblemSolvedPeopleCount(APIView):
|
|||||||
rate = "%.2f" % ((total_count - accepted_count) / total_count * 100)
|
rate = "%.2f" % ((total_count - accepted_count) / total_count * 100)
|
||||||
else:
|
else:
|
||||||
rate = "0"
|
rate = "0"
|
||||||
return self.success(f"{rate}%")
|
return self.success(rate)
|
||||||
Reference in new issue
Block a user