Which number is greater: 5.40987 or 5.40766? Provide your reasoning.
5.40987 is greater than 5.40766 because the integer part, tenths, and hundredths places are the same, and at the thousandths place, 5.40987 has 9 which is greater than 7.