Phoebe rounded a number to the nearest tenth and got 6.5. When she rounded it to the nearest whole number, she got 7. Which number could be the number she rounded?