Contents:
Return the ceiling of x given the amount of decimals. This is the smallest integer >= x.
x (int) – any integer number
decimals (int) – number of decimals
the ceiling of x
int
Exception – raised when decimals is negative.
Return the floor of x given the amount of decimals. This is the largest integer <= x.
the floor of x
Gets the square root of a number.
x (int) – a non-negative number
the square root of a number
Exception – raised when number is negative.