convert division to int