击败比例不需要%
This commit is contained in:
@@ -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