Round a number up if the relevant digit (the one in the place right after the place you are rounding to, in this case the ten thousands place) is at least 5. Otherwise, round down. As the relevant digit here is 9, we round up, for a result of 1,000,000.