We divide 8987786 by 5
We're looking to find how many times 5 goes into 8987786.

Let's proceed to step 1:
The number 5 fits into 8 1 times, leaving a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 5 from 8 to get 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 5

Advancing to step 2:
39 divided by 5 is 7 with a remainder of 4.
The next digit of our result is 7. 
Result so far: 17.0
If we subtract 35 from 39, we get 4.
Append the next digit (8) from the dividend to 4 and continue with: 48 / 5

Let's proceed to step 3:
48 divided by 5 is 9 with a remainder of 3.
Put 9 as the next digit of the answer. 
Result so far: 179.0
If we subtract 45 from 48, we get 3.
Grab the next digit (7) from the dividend, add it to 3, then carry on: 37 / 5

Advancing to step 4:
37 divided by 5 is 7 with a remainder of 2.
Use 7 as the next digit of our solution. 
Result so far: 1797.0
Subtracting 35 from 37 leaves us with 2.
Take the next digit (7) from the dividend and append it to 2, then repeat: 27 / 5

Going ahead to step 5:
When dividing 27 by 5, we get 5 with a remainder of 2.
Use 5 as the next digit of our solution. 
Result so far: 17975.0
Subtract 25 from 27 to get 2.
Include the next digit (8) from the dividend after 2, then repeat: 28 / 5

On to step 6:
5 can be fit into 28 5 times, resulting in a remainder of 3.
Record the quotient 5 as the next digit in the result. 
Result so far: 179755.0
Deduct 25 from 28 and we're left with 3.
Bring next digit (6) of the dividend behind the 3 and repeat the process: 36 / 5

Moving on to step 7:
36 divided by 5 is 7 with a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 1797557.0
Subtracting 35 from 36 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 8:
When dividing 10 by 5, we get 2 with a remainder of 0.
Use 2 as the next digit of our solution. 
Result so far: 1797557.2
The remainder is 0 after subtracting 10 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 9:
If we divide 0 by 5, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 1797557.2
If we subtract 0 from 0, we 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.

Advancing to step 10:
0 divided by 5 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 1797557.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 final result is 1797557.2 with a remainder of 0.0.