We look at the division of 790887 by 8 
We want to figure out the number of times 790887 can be divided by 8.

Let's proceed to step 1:
When dividing 7 by 8, we get 0 with a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 7 leaves us with 7.
Bring next digit (9) of the dividend behind the 7 and repeat the process: 79 / 8

On to step 2:
When dividing 79 by 8, we get 9 with a remainder of 7.
Record the quotient 9 as the next digit in the result. 
Result so far: 9.0
Deduct 72 from 79 and we're left with 7.
Append the next digit (0) from the dividend to 7 and continue with: 70 / 8

Moving on to step 3:
8 can be fit into 70 8 times, resulting in a remainder of 6.
Put 8 as the next digit of the answer. 
Result so far: 98.0
Subtracting 64 from 70 leaves us with 6.
Include the next digit (8) from the dividend after 6, then repeat: 68 / 8

Let's proceed to step 4:
The number 8 fits into 68 8 times, leaving a remainder of 4.
The next digit of our result is 8. 
Result so far: 988.0
Subtract 64 from 68 to get 4.
Bring next digit (8) of the dividend behind the 4 and repeat the process: 48 / 8

On to step 5:
The number 8 fits into 48 6 times, leaving a remainder of 0.
Put 6 as the next digit of the answer. 
Result so far: 9886.0
The remainder is 0 after subtracting 48 from 48.
Append the next digit (7) from the dividend to 0 and continue with: 7 / 8

Advancing to step 6:
8 can be fit into 7 0 times, resulting in a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 98860.0
Subtracting 0 from 7 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 7:
8 can be fit into 70 8 times, resulting in a remainder of 6.
The number 8 becomes the next digit in our result. 
Result so far: 98860.8
Subtract 64 from 70 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 8:
If we divide 60 by 8, we get 7 and a remainder of 4.
Put 7 as the next digit of the answer. 
Result so far: 98860.87
If we subtract 56 from 60, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 9:
40 divided by 8 is 5 with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 98860.875
Subtract 40 from 40 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.

Going ahead to step 10:
8 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 98860.875
The remainder is 0 after subtracting 0 from 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 11:
0 divided by 8 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 98860.875
Deduct 0 from 0 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.

After the division, we end up with 98860.875 and a remainder of 0.0.