0 and 100 can both come up
Both ends are included when you ask for whole numbers, so there are 101 possible answers rather than 100 — which is what you want if the percentage is standing in for "none of it" or "all of it".
Ask for decimal places and it draws inside the range instead, which is the right model when the percentage is a measurement rather than a choice.