Comparing fractions and numbers