Converting fractions to mixed numbers or whole numbers