Skip to content

Commit

Permalink
Add typing to maths/floor.py (TheAlgorithms#7056)
Browse files Browse the repository at this point in the history
  • Loading branch information
saksham-chawla authored Oct 12, 2022
1 parent 74494d4 commit 32ff336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maths/floor.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""


def floor(x) -> int:
def floor(x: float) -> int:
"""
Return the floor of x as an Integral.
:param x: the number
Expand Down

0 comments on commit 32ff336

Please sign in to comment.