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

Step 1:
If we divide 9 by 39, we get 0 and a remainder of 9.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 9 after subtracting 0 from 9.
Grab the next digit (3) from the dividend, add it to 9, then carry on: 93 / 39

Going ahead to step 2:
The number 39 fits into 93 2 times, leaving a remainder of 15.
Write down 2 as next digit of the result. 
Result so far: 2.0
Subtract 78 from 93 to get 15.
Append the next digit (7) from the dividend to 15 and continue with: 157 / 39

On to step 3:
When dividing 157 by 39, we get 4 with a remainder of 1.
The number 4 becomes the next digit in our result. 
Result so far: 24.0
Subtracting 156 from 157 leaves us with 1.
Bring next digit (1) of the dividend behind the 1 and repeat the process: 11 / 39

Advancing to step 4:
39 can be fit into 11 0 times, resulting in a remainder of 11.
Write down 0 as next digit of the result. 
Result so far: 240.0
Subtract 0 from 11 to get 11.
Bring next digit (6) of the dividend behind the 11 and repeat the process: 116 / 39

Advancing to step 5:
116 divided by 39 is 2 with a remainder of 38.
Write down 2 as next digit of the result. 
Result so far: 2402.0
Deduct 78 from 116 and we're left with 38.
Bring next digit (6) of the dividend behind the 38 and repeat the process: 386 / 39

On to step 6:
386 divided by 39 is 9 with a remainder of 35.
Use 9 as the next digit of our solution. 
Result so far: 24029.0
Deduct 351 from 386 and we're left with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Moving on to step 7:
350 divided by 39 is 8 with a remainder of 38.
Put 8 as the next digit of the answer. 
Result so far: 24029.8
If we take 312 away from 350, we end up with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Moving on to step 8:
The number 39 fits into 380 9 times, leaving a remainder of 29.
Use 9 as the next digit of our solution. 
Result so far: 24029.89
The remainder is 29 after subtracting 351 from 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Moving on to step 9:
39 goes into 290 7 times with a remainder of 17.
The number 7 becomes the next digit in our result. 
Result so far: 24029.897
If we subtract 273 from 290, we get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Step 10:
39 can be fit into 170 4 times, resulting in a remainder of 14.
Write down 4 as next digit of the result. 
Result so far: 24029.8974
If we take 156 away from 170, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 11:
When dividing 140 by 39, we get 3 with a remainder of 23.
The next digit of our result is 3. 
Result so far: 24029.89743
Deduct 117 from 140 and we're left with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Moving on to step 12:
The number 39 fits into 230 5 times, leaving a remainder of 35.
Use 5 as the next digit of our solution. 
Result so far: 24029.897435
Subtract 195 from 230 to get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Advancing to step 13:
350 divided by 39 is 8 with a remainder of 38.
Put 8 as the next digit of the answer. 
Result so far: 24029.8974358
Deduct 312 from 350 and we're left with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Moving on to step 14:
When dividing 380 by 39, we get 9 with a remainder of 29.
Write down 9 as next digit of the result. 
Result so far: 24029.89743589
Deduct 351 from 380 and we're left with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Our division results in 24029.89743589 with a remaining 2.9e-08.