We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf970c6 commit f2d6fdeCopy full SHA for f2d6fde
1 file changed
percentify/core.py
@@ -10,6 +10,7 @@ def percent(part: float, whole: float, decimals: int | None = 2) -> float:
10
11
Returns:
12
float: Percentage value.
13
+
14
"""
15
if whole == 0:
16
return 0.0
0 commit comments