parse mixed numbers