For continuous spaces you can still reduce to a single number with a space-filling curve, then use a binary search between two whole numbers, but you will need an infinite number of questions to find an irrational number than way.
Edit: finding a rational number is actually the same problem, you're just looking for (x/y) rather than (x, y).
If you know the number is finite, and that is implied by it being a number, you don't need infinite questions. If nothing else you can just ask "is it 0?", "is it 1?" and so on. Number of questions equal to the number, so still finite.