A number (a) rounded to the nearest 10 is 240. Another number (b) rounded to the nearest 100 is 300. a and b are whole numbers. What is the greatest difference between a and b?