We divide 940786 by 31
We want to divide 940786 by 31.

Advancing to step 1:
The number 31 fits into 9 0 times, leaving a remainder of 9.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Bring next digit (4) of the dividend behind the 9 and repeat the process: 94 / 31

Advancing to step 2:
31 can be fit into 94 3 times, resulting in a remainder of 1.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Subtracting 93 from 94 leaves us with 1.
Append the next digit (0) from the dividend to 1 and continue with: 10 / 31

On to step 3:
10 divided by 31 is 0 with a remainder of 10.
The next digit of our result is 0. 
Result so far: 30.0
Subtract 0 from 10 to get 10.
Fetch the next digit (7) from the dividend, attach it to 10 and continue: 107 / 31

Going ahead to step 4:
The number 31 fits into 107 3 times, leaving a remainder of 14.
Put 3 as the next digit of the answer. 
Result so far: 303.0
The remainder is 14 after subtracting 93 from 107.
Fetch the next digit (8) from the dividend, attach it to 14 and continue: 148 / 31

Going ahead to step 5:
The number 31 fits into 148 4 times, leaving a remainder of 24.
Put 4 as the next digit of the answer. 
Result so far: 3034.0
Subtract 124 from 148 to get 24.
Include the next digit (6) from the dividend after 24, then repeat: 246 / 31

Let's proceed to step 6:
31 goes into 246 7 times with a remainder of 29.
Put 7 as the next digit of the answer. 
Result so far: 30347.0
The remainder is 29 after subtracting 217 from 246.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

On to step 7:
The number 31 fits into 290 9 times, leaving a remainder of 11.
Write down 9 as next digit of the result. 
Result so far: 30347.9
Subtract 279 from 290 to get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 8:
When dividing 110 by 31, we get 3 with a remainder of 17.
Record the quotient 3 as the next digit in the result. 
Result so far: 30347.93
If we take 93 away from 110, we end up with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Let's proceed to step 9:
31 can be fit into 170 5 times, resulting in a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 30347.935
Subtract 155 from 170 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Step 10:
31 goes into 150 4 times with a remainder of 26.
Record the quotient 4 as the next digit in the result. 
Result so far: 30347.9354
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.

Let's proceed to step 11:
31 can be fit into 260 8 times, resulting in a remainder of 12.
Use 8 as the next digit of our solution. 
Result so far: 30347.93548
Subtract 248 from 260 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 12:
If we divide 120 by 31, we get 3 and a remainder of 27.
Use 3 as the next digit of our solution. 
Result so far: 30347.935483
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.

Let's proceed to step 13:
270 divided by 31 is 8 with a remainder of 22.
Record the quotient 8 as the next digit in the result. 
Result so far: 30347.9354838
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.

On to step 14:
31 goes into 220 7 times with a remainder of 3.
The next digit of our result is 7. 
Result so far: 30347.93548387
If we subtract 217 from 220, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Our division results in 30347.93548387 with a remaining 3e-09.