We divide 402238 by 39
Let's see how many times 39 fits into 402238.

Advancing to step 1:
The number 39 fits into 4 0 times, leaving a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 39

Going ahead to step 2:
The number 39 fits into 40 1 times, leaving a remainder of 1.
The next digit of our result is 1. 
Result so far: 1.0
Deduct 39 from 40 and we're left with 1.
Take the next digit (2) from the dividend and append it to 1, then repeat: 12 / 39

On to step 3:
39 goes into 12 0 times with a remainder of 12.
Use 0 as the next digit of our solution. 
Result so far: 10.0
If we take 0 away from 12, we end up with 12.
Fetch the next digit (2) from the dividend, attach it to 12 and continue: 122 / 39

Step 4:
39 goes into 122 3 times with a remainder of 5.
Put 3 as the next digit of the answer. 
Result so far: 103.0
Subtract 117 from 122 to get 5.
Take the next digit (3) from the dividend and append it to 5, then repeat: 53 / 39

Moving on to step 5:
39 can be fit into 53 1 times, resulting in a remainder of 14.
The number 1 becomes the next digit in our result. 
Result so far: 1031.0
If we take 39 away from 53, we end up with 14.
Fetch the next digit (8) from the dividend, attach it to 14 and continue: 148 / 39

Advancing to step 6:
39 can be fit into 148 3 times, resulting in a remainder of 31.
Write down 3 as next digit of the result. 
Result so far: 10313.0
Subtracting 117 from 148 leaves us with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

On to step 7:
The number 39 fits into 310 7 times, leaving a remainder of 37.
Put 7 as the next digit of the answer. 
Result so far: 10313.7
If we take 273 away from 310, we end up with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Step 8:
When dividing 370 by 39, we get 9 with a remainder of 19.
Write down 9 as next digit of the result. 
Result so far: 10313.79
Subtract 351 from 370 to get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

On to step 9:
190 divided by 39 is 4 with a remainder of 34.
Write down 4 as next digit of the result. 
Result so far: 10313.794
The remainder is 34 after subtracting 156 from 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Going ahead to step 10:
If we divide 340 by 39, we get 8 and a remainder of 28.
Use 8 as the next digit of our solution. 
Result so far: 10313.7948
The remainder is 28 after subtracting 312 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 11:
39 can be fit into 280 7 times, resulting in a remainder of 7.
Use 7 as the next digit of our solution. 
Result so far: 10313.79487
Subtracting 273 from 280 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 12:
The number 39 fits into 70 1 times, leaving a remainder of 31.
Write down 1 as next digit of the result. 
Result so far: 10313.794871
Subtract 39 from 70 to get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Moving on to step 13:
When dividing 310 by 39, we get 7 with a remainder of 37.
Write down 7 as next digit of the result. 
Result so far: 10313.7948717
Deduct 273 from 310 and we're left with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

On to step 14:
39 can be fit into 370 9 times, resulting in a remainder of 19.
Record the quotient 9 as the next digit in the result. 
Result so far: 10313.79487179
If we take 351 away from 370, we end up with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

The final outcome is 10313.79487179, with a leftover of 1.9e-08.