We divide 198782 by 9
We want to figure out the number of times 198782 can be divided by 9.

On to step 1:
When dividing 1 by 9, we get 0 with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Fetch the next digit (9) from the dividend, attach it to 1 and continue: 19 / 9

Step 2:
When dividing 19 by 9, we get 2 with a remainder of 1.
The next digit of our result is 2. 
Result so far: 2.0
Subtract 18 from 19 to get 1.
Take the next digit (8) from the dividend and append it to 1, then repeat: 18 / 9

Moving on to step 3:
18 divided by 9 is 2 with a remainder of 0.
Write down 2 as next digit of the result. 
Result so far: 22.0
The remainder is 0 after subtracting 18 from 18.
Append the next digit (7) from the dividend to 0 and continue with: 7 / 9

On to step 4:
7 divided by 9 is 0 with a remainder of 7.
The next digit of our result is 0. 
Result so far: 220.0
Subtracting 0 from 7 leaves us with 7.
Append the next digit (8) from the dividend to 7 and continue with: 78 / 9

Advancing to step 5:
The number 9 fits into 78 8 times, leaving a remainder of 6.
Use 8 as the next digit of our solution. 
Result so far: 2208.0
Subtracting 72 from 78 leaves us with 6.
Take the next digit (2) from the dividend and append it to 6, then repeat: 62 / 9

Step 6:
When dividing 62 by 9, we get 6 with a remainder of 8.
The number 6 becomes the next digit in our result. 
Result so far: 22086.0
Subtracting 54 from 62 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 7:
9 goes into 80 8 times with a remainder of 8.
The number 8 becomes the next digit in our result. 
Result so far: 22086.8
If we take 72 away from 80, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 8:
9 goes into 80 8 times with a remainder of 8.
The next digit of our result is 8. 
Result so far: 22086.88
Subtract 72 from 80 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

After the division, we end up with 22086.88 and a remainder of 0.008.