Floor function (floor)
Greatest whole number not above a number.
How to write it
floor(x)
- x
- A number. Takes a number.
Examples
floor(3.7)In the solver,
Open in the solverfloor(3.7)gives3.floor(-1.5)In the solver,
Open in the solverfloor(-1.5)gives-2.
Related functions
- frac
Fractional part of a number.
- factorial
Factorial: n! is the product of the whole numbers from 1 to n.
- gcd
Greatest common divisor of whole numbers.
- exp
Exponential function; exp(x) is the power e^x.
- im
Imaginary part of a complex number.
- double_factorial
Double factorial: n!! multiplies every second number down from n.