Truncate ratio to int