We're dividing 679858 by 31 
We want to figure out the number of times 679858 can be divided by 31.

Step 1:
31 goes into 6 0 times with a remainder of 6.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 6 to get 6.
Grab the next digit (7) from the dividend, add it to 6, then carry on: 67 / 31

Going ahead to step 2:
If we divide 67 by 31, we get 2 and a remainder of 5.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we take 62 away from 67, we end up with 5.
Include the next digit (9) from the dividend after 5, then repeat: 59 / 31

Let's proceed to step 3:
The number 31 fits into 59 1 times, leaving a remainder of 28.
Put 1 as the next digit of the answer. 
Result so far: 21.0
Subtracting 31 from 59 leaves us with 28.
Bring next digit (8) of the dividend behind the 28 and repeat the process: 288 / 31

On to step 4:
If we divide 288 by 31, we get 9 and a remainder of 9.
Put 9 as the next digit of the answer. 
Result so far: 219.0
The remainder is 9 after subtracting 279 from 288.
Bring next digit (5) of the dividend behind the 9 and repeat the process: 95 / 31

Let's proceed to step 5:
95 divided by 31 is 3 with a remainder of 2.
Write down 3 as next digit of the result. 
Result so far: 2193.0
If we take 93 away from 95, we end up with 2.
Bring next digit (8) of the dividend behind the 2 and repeat the process: 28 / 31

Moving on to step 6:
When dividing 28 by 31, we get 0 with a remainder of 28.
The next digit of our result is 0. 
Result so far: 21930.0
Subtracting 0 from 28 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 7:
The number 31 fits into 280 9 times, leaving a remainder of 1.
Write down 9 as next digit of the result. 
Result so far: 21930.9
The remainder is 1 after subtracting 279 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 8:
10 divided by 31 is 0 with a remainder of 10.
The next digit of our result is 0. 
Result so far: 21930.9
Deduct 0 from 10 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 9:
31 can be fit into 100 3 times, resulting in a remainder of 7.
Write down 3 as next digit of the result. 
Result so far: 21930.903
Subtracting 93 from 100 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.

Going ahead to step 10:
70 divided by 31 is 2 with a remainder of 8.
The number 2 becomes the next digit in our result. 
Result so far: 21930.9032
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.

Step 11:
31 can be fit into 80 2 times, resulting in a remainder of 18.
Use 2 as the next digit of our solution. 
Result so far: 21930.90322
The remainder is 18 after subtracting 62 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

The final outcome is 21930.90322, with a leftover of 1.8e-05.