Let's divide 413170 by 38
Let's see how many times 38 fits into 413170.

Going ahead to step 1:
The number 38 fits into 4 0 times, leaving a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Fetch the next digit (1) from the dividend, attach it to 4 and continue: 41 / 38

Step 2:
When dividing 41 by 38, we get 1 with a remainder of 3.
The next digit of our result is 1. 
Result so far: 1.0
The remainder is 3 after subtracting 38 from 41.
Append the next digit (3) from the dividend to 3 and continue with: 33 / 38

Step 3:
If we divide 33 by 38, we get 0 and a remainder of 33.
Record the quotient 0 as the next digit in the result. 
Result so far: 10.0
Deduct 0 from 33 and we're left with 33.
Bring next digit (1) of the dividend behind the 33 and repeat the process: 331 / 38

On to step 4:
331 divided by 38 is 8 with a remainder of 27.
Record the quotient 8 as the next digit in the result. 
Result so far: 108.0
If we take 304 away from 331, we end up with 27.
Fetch the next digit (7) from the dividend, attach it to 27 and continue: 277 / 38

Going ahead to step 5:
If we divide 277 by 38, we get 7 and a remainder of 11.
Put 7 as the next digit of the answer. 
Result so far: 1087.0
The remainder is 11 after subtracting 266 from 277.
Grab the next digit (0) from the dividend, add it to 11, then carry on: 110 / 38

Advancing to step 6:
When dividing 110 by 38, we get 2 with a remainder of 34.
The next digit of our result is 2. 
Result so far: 10872.0
Subtracting 76 from 110 leaves us with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Advancing to step 7:
38 goes into 340 8 times with a remainder of 36.
Write down 8 as next digit of the result. 
Result so far: 10872.8
Deduct 304 from 340 and we're left with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Step 8:
38 can be fit into 360 9 times, resulting in a remainder of 18.
The next digit of our result is 9. 
Result so far: 10872.89
If we subtract 342 from 360, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Moving on to step 9:
If we divide 180 by 38, we get 4 and a remainder of 28.
Use 4 as the next digit of our solution. 
Result so far: 10872.894
If we take 152 away from 180, we end up with 28.
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 10:
38 can be fit into 280 7 times, resulting in a remainder of 14.
Put 7 as the next digit of the answer. 
Result so far: 10872.8947
If we take 266 away from 280, 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.

Going ahead to step 11:
38 goes into 140 3 times with a remainder of 26.
Use 3 as the next digit of our solution. 
Result so far: 10872.89473
Subtracting 114 from 140 leaves us with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Going ahead to step 12:
38 goes into 260 6 times with a remainder of 32.
Use 6 as the next digit of our solution. 
Result so far: 10872.894736
Deduct 228 from 260 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Going ahead to step 13:
When dividing 320 by 38, we get 8 with a remainder of 16.
Write down 8 as next digit of the result. 
Result so far: 10872.8947368
The remainder is 16 after subtracting 304 from 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 14:
When dividing 160 by 38, we get 4 with a remainder of 8.
The next digit of our result is 4. 
Result so far: 10872.89473684
Subtracting 152 from 160 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

After the division, we end up with 10872.89473684 and a remainder of 8e-09.