Convert returned coordinates to int