story
In any context that a child is working in, 6/2 and 3.0 are a whole numbers. If the teacher says otherwise, they are wrong. Just because the teacher wants to teach a lesson doesn't mean that lesson is actually correct. The teacher is just confused.
If they weren't confused, it would be highly inappropriate to go into that level of detail with anyone other than a curious gifted kid that's asking questions that are years ahead of a normal curriculum. So much so that it's beyond the level of knowledge expected of a schoolteacher.
You also wouldn't mark it wrong because the entire point is to define things in a way that makes the distinction go away. Even after that distinction has been presented and is front-of-mind, you still generally write down whatever representative is convenient.
It's either literally wrong, philosophically/pedagogically wrong, or both.