how to use floor

 x=(y-7)/4;

13 - 7 = 6
6 / 4 = 1