Unlike the commenter above you, I don’t really agree that it’s completely sanitary, though. I’m just saying that keeping you clean is actually pretty far down the list.
Another thing about whether the floor is sanitary: that changes a lot based on how you use your floor. If you eat, sleep, or sit on the floor often like in a traditional Japanese home, keeping the floor clean is a lot more important.