To expand on ooga's answer, between 0 and 100,000, there are:
- 10 single-digit numbers (0-9)
- 90 two-digit numbers (10-99)
- 900 three-digit numbers (100-999)
- 9000 four-digit numbers (1,000-9,999)
- 90000 five-digit numbers (10,000-99,999)
This is why you'd expect a 90% chance of a random number having five digits, a 9% chance of four digits, a .9% chance of three digits, and so on. Another way to look at it is to think of any positive number with fewer than five digits as having a 0 in the ten thousands place (e.g. 07,734), so there are nine times as many five-digit numbers, since there are nine non-zero possibilities for the ten thousands place.
(Also, I'm assuming you meant you're getting mostly five-figure numbers or the range went up to 1,000,000, since there shouldn't be any six-figure integers between 0 and 100,000.)