Skip to content

Commit 32ff336

Browse files
Add typing to maths/floor.py (TheAlgorithms#7056)
1 parent 74494d4 commit 32ff336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

maths/floor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44

55

6-
def floor(x) -> int:
6+
def floor(x: float) -> int:
77
"""
88
Return the floor of x as an Integral.
99
:param x: the number

0 commit comments

Comments
 (0)