Gets the floor (floor index)
The value returned is only valid if true is returned when calling hasFloor
true