Add typing to maths/floor.py (#7056)

This commit is contained in:
Saksham Chawla 2022-10-13 00:12:30 +05:30 committed by GitHub
parent 74494d433f
commit 32ff33648e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ https://en.wikipedia.org/wiki/Floor_and_ceiling_functions
"""
def floor(x) -> int:
def floor(x: float) -> int:
"""
Return the floor of x as an Integral.
:param x: the number