int / int = int
You divide smth like 850 by 320, and gets 2. 2*320 = 640, so 210 pixels are free. Add "1f *" before arguments to perform division in float values.