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

Going ahead to step 1:
The number 31 fits into 6 0 times, leaving a remainder of 6.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Grab the next digit (8) from the dividend, add it to 6, then carry on: 68 / 31

Step 2:
68 divided by 31 is 2 with a remainder of 6.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtract 62 from 68 to get 6.
Take the next digit (4) from the dividend and append it to 6, then repeat: 64 / 31

Going ahead to step 3:
If we divide 64 by 31, we get 2 and a remainder of 2.
Put 2 as the next digit of the answer. 
Result so far: 22.0
Subtract 62 from 64 to get 2.
Include the next digit (3) from the dividend after 2, then repeat: 23 / 31

Let's proceed to step 4:
When dividing 23 by 31, we get 0 with a remainder of 23.
Record the quotient 0 as the next digit in the result. 
Result so far: 220.0
Subtracting 0 from 23 leaves us with 23.
Grab the next digit (4) from the dividend, add it to 23, then carry on: 234 / 31

Let's proceed to step 5:
The number 31 fits into 234 7 times, leaving a remainder of 17.
Put 7 as the next digit of the answer. 
Result so far: 2207.0
If we subtract 217 from 234, we get 17.
Append the next digit (0) from the dividend to 17 and continue with: 170 / 31

Let's proceed to step 6:
The number 31 fits into 170 5 times, leaving a remainder of 15.
Record the quotient 5 as the next digit in the result. 
Result so far: 22075.0
If we take 155 away from 170, we end up with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Let's proceed to step 7:
150 divided by 31 is 4 with a remainder of 26.
The number 4 becomes the next digit in our result. 
Result so far: 22075.4
If we take 124 away from 150, we end up with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Step 8:
31 can be fit into 260 8 times, resulting in a remainder of 12.
The next digit of our result is 8. 
Result so far: 22075.48
Deduct 248 from 260 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 9:
When dividing 120 by 31, we get 3 with a remainder of 27.
The number 3 becomes the next digit in our result. 
Result so far: 22075.483
Subtracting 93 from 120 leaves us with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

On to step 10:
31 can be fit into 270 8 times, resulting in a remainder of 22.
Put 8 as the next digit of the answer. 
Result so far: 22075.4838
Deduct 248 from 270 and we're left with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 11:
31 can be fit into 220 7 times, resulting in a remainder of 3.
Record the quotient 7 as the next digit in the result. 
Result so far: 22075.48387
Subtracting 217 from 220 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 12:
31 can be fit into 30 0 times, resulting in a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 22075.48387
If we subtract 0 from 30, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 13:
The number 31 fits into 300 9 times, leaving a remainder of 21.
The next digit of our result is 9. 
Result so far: 22075.4838709
If we subtract 279 from 300, we get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

On to step 14:
31 can be fit into 210 6 times, resulting in a remainder of 24.
Record the quotient 6 as the next digit in the result. 
Result so far: 22075.48387096
The remainder is 24 after subtracting 186 from 210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

The final outcome is 22075.48387096, with a leftover of 2.4e-08.