ceil (Function)
Signature: ceil(x: float) -> float
Description: The least integer >= x, as a float. Total: ceil of an infinity or NaN is itself.
Parameters
- x (
float): The float to round up
Returns: float
Example
print(ceil(2.3)) // 3.0
print (ceil 2.3) // 3.0