839940 ÷ 31 
Our goal is to divide 839940 by 31.

On to step 1:
8 divided by 31 is 0 with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Append the next digit (3) from the dividend to 8 and continue with: 83 / 31

On to step 2:
When dividing 83 by 31, we get 2 with a remainder of 21.
Write down 2 as next digit of the result. 
Result so far: 2.0
Subtract 62 from 83 to get 21.
Take the next digit (9) from the dividend and append it to 21, then repeat: 219 / 31

Advancing to step 3:
31 goes into 219 7 times with a remainder of 2.
Put 7 as the next digit of the answer. 
Result so far: 27.0
Subtracting 217 from 219 leaves us with 2.
Grab the next digit (9) from the dividend, add it to 2, then carry on: 29 / 31

Moving on to step 4:
29 divided by 31 is 0 with a remainder of 29.
Record the quotient 0 as the next digit in the result. 
Result so far: 270.0
Deduct 0 from 29 and we're left with 29.
Include the next digit (4) from the dividend after 29, then repeat: 294 / 31

Advancing to step 5:
31 can be fit into 294 9 times, resulting in a remainder of 15.
The next digit of our result is 9. 
Result so far: 2709.0
Deduct 279 from 294 and we're left with 15.
Append the next digit (0) from the dividend to 15 and continue with: 150 / 31

Step 6:
The number 31 fits into 150 4 times, leaving a remainder of 26.
Use 4 as the next digit of our solution. 
Result so far: 27094.0
If we subtract 124 from 150, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 7:
260 divided by 31 is 8 with a remainder of 12.
Put 8 as the next digit of the answer. 
Result so far: 27094.8
If we take 248 away from 260, we end up 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.

Moving on to step 8:
The number 31 fits into 120 3 times, leaving a remainder of 27.
The number 3 becomes the next digit in our result. 
Result so far: 27094.83
Subtract 93 from 120 to get 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 9:
When dividing 270 by 31, we get 8 with a remainder of 22.
The next digit of our result is 8. 
Result so far: 27094.838
If we take 248 away from 270, we end up 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.

Moving on to step 10:
31 goes into 220 7 times with a remainder of 3.
Use 7 as the next digit of our solution. 
Result so far: 27094.8387
The remainder is 3 after subtracting 217 from 220.
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 11:
The number 31 fits into 30 0 times, leaving a remainder of 30.
The next digit of our result is 0. 
Result so far: 27094.8387
If we take 0 away from 30, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 12:
300 divided by 31 is 9 with a remainder of 21.
Write down 9 as next digit of the result. 
Result so far: 27094.838709
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.

Moving on to step 13:
If we divide 210 by 31, we get 6 and a remainder of 24.
Put 6 as the next digit of the answer. 
Result so far: 27094.8387096
If we subtract 186 from 210, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 14:
When dividing 240 by 31, we get 7 with a remainder of 23.
Use 7 as the next digit of our solution. 
Result so far: 27094.83870967
Subtract 217 from 240 to get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Our division results in 27094.83870967 with a remaining 2.3e-08.