Which is greater 0.07 or 0.040?

Compare one digit at a time, from left to right, until you find a digit that is different. The number with the greater digit in this position is the larger number.