mirror of
https://hub.njuu.cf/TheAlgorithms/Python.git
synced 2023-10-11 13:06:12 +08:00
Add typing to maths/ceil.py (#7057)
This commit is contained in:
parent
2423760e1d
commit
74494d433f
@ -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.
|
Return the ceiling of x as an Integral.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user