math
Functions:
Return the ceiling of x given the amount of decimals. |
|
Return the floor of x given the amount of decimals. |
|
Gets the square root of a number. |
- ceil(x: int, decimals: int) int
Return the ceiling of x given the amount of decimals. This is the smallest integer >= x.
>>> ceil(12345, 3) 13000