Conversion of fractions to mixed numbers