Comparison of numbers on the number line