Division works both ways
Fraction ÷ whole number makes the fraction smaller. ⅔ ÷ 2 = ⅓: half of two thirds is one third.
Whole number ÷ fraction asks how many pieces fit. 2 ÷ ⅔ = 3: three pieces of ⅔ fill 2 wholes.
Both use the same method: flip the second number and multiply. The fraction wall lines the tiles up so you can count them.