mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 09:21:13 +08:00
Add typing to maths/ceil.py (#7057)
This commit is contained in:
@ -3,7 +3,7 @@ https://en.wikipedia.org/wiki/Floor_and_ceiling_functions
|
||||
"""
|
||||
|
||||
|
||||
def ceil(x) -> int:
|
||||
def ceil(x: float) -> int:
|
||||
"""
|
||||
Return the ceiling of x as an Integral.
|
||||
|
||||
|
Reference in New Issue
Block a user