0
What is floor operation
3 Answers
+ 1
TysmQwerty Uiop
+ 1
Floor Operation rounds the number to the previous integer.
If you understand the basic concepts of rounding, you must be knowing that 1.6 will be rounded to 2 and 1.4 will be rounded to 1.
But floor operation rounds it to previous integer that means.
Even if you floor 1.98, it will still be 1.
the opposite of floor is ceil.
You know the word "ceiling" and "floor" ?? Right? That's it.
If you round 1.04 using ceil method, it will be 2.
I hope this explanation is enough
0
Floor rounds nubmers to bottom.
Example: math floor 0.1 will be 0, 0.9 will be 0 too
Celi rounds numbers to top.
0.1 will be 1, and 0.9 will be 1 too