We're dividing 867890 by 31 
We're looking to find how many times 31 goes into 867890.

Advancing to step 1:
If we divide 8 by 31, we get 0 and a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Take the next digit (6) from the dividend and append it to 8, then repeat: 86 / 31

Advancing to step 2:
If we divide 86 by 31, we get 2 and a remainder of 24.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
If we subtract 62 from 86, we get 24.
Append the next digit (7) from the dividend to 24 and continue with: 247 / 31

Going ahead to step 3:
31 goes into 247 7 times with a remainder of 30.
Use 7 as the next digit of our solution. 
Result so far: 27.0
If we take 217 away from 247, we end up with 30.
Grab the next digit (8) from the dividend, add it to 30, then carry on: 308 / 31

Step 4:
308 divided by 31 is 9 with a remainder of 29.
Put 9 as the next digit of the answer. 
Result so far: 279.0
If we subtract 279 from 308, we get 29.
Grab the next digit (9) from the dividend, add it to 29, then carry on: 299 / 31

Let's proceed to step 5:
299 divided by 31 is 9 with a remainder of 20.
The number 9 becomes the next digit in our result. 
Result so far: 2799.0
If we take 279 away from 299, we end up with 20.
Fetch the next digit (0) from the dividend, attach it to 20 and continue: 200 / 31

On to step 6:
200 divided by 31 is 6 with a remainder of 14.
The number 6 becomes the next digit in our result. 
Result so far: 27996.0
If we subtract 186 from 200, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 7:
31 can be fit into 140 4 times, resulting in a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 27996.4
Deduct 124 from 140 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 8:
31 goes into 160 5 times with a remainder of 5.
The next digit of our result is 5. 
Result so far: 27996.45
Deduct 155 from 160 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 9:
31 goes into 50 1 times with a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 27996.451
Deduct 31 from 50 and we're left with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Step 10:
The number 31 fits into 190 6 times, leaving a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 27996.4516
If we subtract 186 from 190, 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.

On to step 11:
40 divided by 31 is 1 with a remainder of 9.
Write down 1 as next digit of the result. 
Result so far: 27996.45161
If we take 31 away from 40, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Moving on to step 12:
When dividing 90 by 31, we get 2 with a remainder of 28.
Record the quotient 2 as the next digit in the result. 
Result so far: 27996.451612
Subtracting 62 from 90 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Going ahead to step 13:
31 goes into 280 9 times with a remainder of 1.
Put 9 as the next digit of the answer. 
Result so far: 27996.4516129
Subtract 279 from 280 to 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.

Moving on to step 14:
31 can be fit into 10 0 times, resulting in a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 27996.4516129
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

In conclusion, the division gives 27996.4516129 with a balance of 1e-08.