Initial Commit
This commit is contained in:
2
api/app/helpers/math.py
Normal file
2
api/app/helpers/math.py
Normal file
@@ -0,0 +1,2 @@
|
||||
def safe_division(n: int, d: int, r: int = 2):
|
||||
return round((n / d), r) if d else 0
|
||||
Reference in New Issue
Block a user