I have never dealt with floor functions before, and I had trouble understanding the proof in my textbook.
Here's the portion of the proof:
Also, is there some online material where I could study about floor/ceiling functions?
Here is a good summery of the properties of the floor function.
But there is a typo in the OP, a missing L.