Let's divide 311772 by 39
We want to divide 311772 by 39.

Let's proceed to step 1:
The number 39 fits into 3 0 times, leaving a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 39

On to step 2:
39 can be fit into 31 0 times, resulting in a remainder of 31.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 31, we get 31.
Fetch the next digit (1) from the dividend, attach it to 31 and continue: 311 / 39

Advancing to step 3:
If we divide 311 by 39, we get 7 and a remainder of 38.
Use 7 as the next digit of our solution. 
Result so far: 7.0
If we subtract 273 from 311, we get 38.
Grab the next digit (7) from the dividend, add it to 38, then carry on: 387 / 39

Going ahead to step 4:
When dividing 387 by 39, we get 9 with a remainder of 36.
The number 9 becomes the next digit in our result. 
Result so far: 79.0
Subtracting 351 from 387 leaves us with 36.
Fetch the next digit (7) from the dividend, attach it to 36 and continue: 367 / 39

On to step 5:
367 divided by 39 is 9 with a remainder of 16.
Record the quotient 9 as the next digit in the result. 
Result so far: 799.0
If we take 351 away from 367, we end up with 16.
Append the next digit (2) from the dividend to 16 and continue with: 162 / 39

On to step 6:
If we divide 162 by 39, we get 4 and a remainder of 6.
Record the quotient 4 as the next digit in the result. 
Result so far: 7994.0
If we subtract 156 from 162, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 7:
The number 39 fits into 60 1 times, leaving a remainder of 21.
Record the quotient 1 as the next digit in the result. 
Result so far: 7994.1
If we take 39 away from 60, we end up with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Advancing to step 8:
The number 39 fits into 210 5 times, leaving a remainder of 15.
Use 5 as the next digit of our solution. 
Result so far: 7994.15
The remainder is 15 after subtracting 195 from 210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Moving on to step 9:
The number 39 fits into 150 3 times, leaving a remainder of 33.
Record the quotient 3 as the next digit in the result. 
Result so far: 7994.153
Subtract 117 from 150 to get 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Let's proceed to step 10:
39 can be fit into 330 8 times, resulting in a remainder of 18.
Use 8 as the next digit of our solution. 
Result so far: 7994.1538
The remainder is 18 after subtracting 312 from 330.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 11:
39 goes into 180 4 times with a remainder of 24.
Use 4 as the next digit of our solution. 
Result so far: 7994.15384
If we take 156 away from 180, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 12:
If we divide 240 by 39, we get 6 and a remainder of 6.
Use 6 as the next digit of our solution. 
Result so far: 7994.153846
If we subtract 234 from 240, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 13:
39 can be fit into 60 1 times, resulting in a remainder of 21.
Write down 1 as next digit of the result. 
Result so far: 7994.1538461
Subtracting 39 from 60 leaves us with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Going ahead to step 14:
39 can be fit into 210 5 times, resulting in a remainder of 15.
The number 5 becomes the next digit in our result. 
Result so far: 7994.15384615
If we subtract 195 from 210, we 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.

The final result is 7994.15384615 with a remainder of 1.5e-08.