We look at the division of 879167 by 31 
We want to divide 879167 by 31.

Going ahead to step 1:
31 goes into 8 0 times with a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Take the next digit (7) from the dividend and append it to 8, then repeat: 87 / 31

On to step 2:
31 goes into 87 2 times with a remainder of 25.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Subtracting 62 from 87 leaves us with 25.
Take the next digit (9) from the dividend and append it to 25, then repeat: 259 / 31

On to step 3:
When dividing 259 by 31, we get 8 with a remainder of 11.
Write down 8 as next digit of the result. 
Result so far: 28.0
If we take 248 away from 259, we end up with 11.
Include the next digit (1) from the dividend after 11, then repeat: 111 / 31

Let's proceed to step 4:
111 divided by 31 is 3 with a remainder of 18.
Record the quotient 3 as the next digit in the result. 
Result so far: 283.0
The remainder is 18 after subtracting 93 from 111.
Take the next digit (6) from the dividend and append it to 18, then repeat: 186 / 31

Step 5:
If we divide 186 by 31, we get 6 and a remainder of 0.
Use 6 as the next digit of our solution. 
Result so far: 2836.0
Deduct 186 from 186 and we're left with 0.
Bring next digit (7) of the dividend behind the 0 and repeat the process: 7 / 31

Let's proceed to step 6:
If we divide 7 by 31, we get 0 and a remainder of 7.
The next digit of our result is 0. 
Result so far: 28360.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.

Let's proceed to step 7:
If we divide 70 by 31, we get 2 and a remainder of 8.
The next digit of our result is 2. 
Result so far: 28360.2
If we subtract 62 from 70, we 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.

Moving on to step 8:
31 goes into 80 2 times with a remainder of 18.
Record the quotient 2 as the next digit in the result. 
Result so far: 28360.22
Subtracting 62 from 80 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

In conclusion, the division gives 28360.22 with a balance of 0.018.