0
What is floor division? (// )
floor division
4 Antworten
+ 2
The floor division , it's a normal division, but the result will be always an integer:
5 / 2 will return 2.5
5 // 2 will return 2.
+ 2
will return the int part only, don't the round up
0
So it gonna return the lowest numeber ?
0
it will return the integer part of the division
ex: 9 / 2 = 4.5 but with the floor division the return will be only 4.