We look at the division of 998781 by 5 
We're looking to find how many times 5 goes into 998781.

On to step 1:
If we divide 9 by 5, we get 1 and a remainder of 4.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 4 after subtracting 5 from 9.
Include the next digit (9) from the dividend after 4, then repeat: 49 / 5

Moving on to step 2:
The number 5 fits into 49 9 times, leaving a remainder of 4.
The number 9 becomes the next digit in our result. 
Result so far: 19.0
If we subtract 45 from 49, we get 4.
Fetch the next digit (8) from the dividend, attach it to 4 and continue: 48 / 5

Going ahead to step 3:
The number 5 fits into 48 9 times, leaving a remainder of 3.
Record the quotient 9 as the next digit in the result. 
Result so far: 199.0
Subtracting 45 from 48 leaves us with 3.
Take the next digit (7) from the dividend and append it to 3, then repeat: 37 / 5

Advancing to step 4:
If we divide 37 by 5, we get 7 and a remainder of 2.
The next digit of our result is 7. 
Result so far: 1997.0
The remainder is 2 after subtracting 35 from 37.
Fetch the next digit (8) from the dividend, attach it to 2 and continue: 28 / 5

Let's proceed to step 5:
If we divide 28 by 5, we get 5 and a remainder of 3.
Use 5 as the next digit of our solution. 
Result so far: 19975.0
The remainder is 3 after subtracting 25 from 28.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 5

Moving on to step 6:
5 goes into 31 6 times with a remainder of 1.
Put 6 as the next digit of the answer. 
Result so far: 199756.0
If we subtract 30 from 31, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 7:
If we divide 10 by 5, we get 2 and a remainder of 0.
Record the quotient 2 as the next digit in the result. 
Result so far: 199756.2
Deduct 10 from 10 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 8:
When dividing 0 by 5, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 199756.2
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 9:
If we divide 0 by 5, we get 0 and a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 199756.2
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 199756.2, and the remainder is 0.0.