We're dividing 396958 by 39 
Our goal is to divide 396958 by 39.

On to step 1:
39 goes into 3 0 times with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 39

Moving on to step 2:
The number 39 fits into 39 1 times, leaving a remainder of 0.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtract 39 from 39 to get 0.
Bring next digit (6) of the dividend behind the 0 and repeat the process: 6 / 39

Let's proceed to step 3:
The number 39 fits into 6 0 times, leaving a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 10.0
If we subtract 0 from 6, we get 6.
Take the next digit (9) from the dividend and append it to 6, then repeat: 69 / 39

Going ahead to step 4:
When dividing 69 by 39, we get 1 with a remainder of 30.
Write down 1 as next digit of the result. 
Result so far: 101.0
Deduct 39 from 69 and we're left with 30.
Take the next digit (5) from the dividend and append it to 30, then repeat: 305 / 39

Let's proceed to step 5:
The number 39 fits into 305 7 times, leaving a remainder of 32.
The number 7 becomes the next digit in our result. 
Result so far: 1017.0
Subtract 273 from 305 to get 32.
Fetch the next digit (8) from the dividend, attach it to 32 and continue: 328 / 39

Advancing to step 6:
39 can be fit into 328 8 times, resulting in a remainder of 16.
The next digit of our result is 8. 
Result so far: 10178.0
The remainder is 16 after subtracting 312 from 328.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 7:
160 divided by 39 is 4 with a remainder of 4.
Use 4 as the next digit of our solution. 
Result so far: 10178.4
Subtract 156 from 160 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 8:
The number 39 fits into 40 1 times, leaving a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 10178.41
If we subtract 39 from 40, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 9:
10 divided by 39 is 0 with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 10178.41
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 10:
When dividing 100 by 39, we get 2 with a remainder of 22.
Put 2 as the next digit of the answer. 
Result so far: 10178.4102
Subtracting 78 from 100 leaves us 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.

Step 11:
If we divide 220 by 39, we get 5 and a remainder of 25.
The next digit of our result is 5. 
Result so far: 10178.41025
Subtract 195 from 220 to get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Advancing to step 12:
39 goes into 250 6 times with a remainder of 16.
Put 6 as the next digit of the answer. 
Result so far: 10178.410256
The remainder is 16 after subtracting 234 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 13:
The number 39 fits into 160 4 times, leaving a remainder of 4.
Use 4 as the next digit of our solution. 
Result so far: 10178.4102564
Deduct 156 from 160 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 14:
The number 39 fits into 40 1 times, leaving a remainder of 1.
The next digit of our result is 1. 
Result so far: 10178.41025641
The remainder is 1 after subtracting 39 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

In conclusion, the division gives 10178.41025641 with a balance of 1e-09.