We look at the division of 38160638 by 945 
Let's see how many times 945 fits into 38160638.

On to step 1:
The number 945 fits into 3 0 times, leaving a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Fetch the next digit (8) from the dividend, attach it to 3 and continue: 38 / 945

Advancing to step 2:
945 can be fit into 38 0 times, resulting in a remainder of 38.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 38 to get 38.
Take the next digit (1) from the dividend and append it to 38, then repeat: 381 / 945

Moving on to step 3:
The number 945 fits into 381 0 times, leaving a remainder of 381.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 381, we get 381.
Append the next digit (6) from the dividend to 381 and continue with: 3816 / 945

Advancing to step 4:
945 goes into 3816 4 times with a remainder of 36.
Put 4 as the next digit of the answer. 
Result so far: 4.0
If we take 3780 away from 3816, we end up with 36.
Append the next digit (0) from the dividend to 36 and continue with: 360 / 945

Advancing to step 5:
945 goes into 360 0 times with a remainder of 360.
The next digit of our result is 0. 
Result so far: 40.0
If we subtract 0 from 360, we get 360.
Bring next digit (6) of the dividend behind the 360 and repeat the process: 3606 / 945

Advancing to step 6:
If we divide 3606 by 945, we get 3 and a remainder of 771.
The next digit of our result is 3. 
Result so far: 403.0
If we take 2835 away from 3606, we end up with 771.
Include the next digit (3) from the dividend after 771, then repeat: 7713 / 945

Advancing to step 7:
945 goes into 7713 8 times with a remainder of 153.
Record the quotient 8 as the next digit in the result. 
Result so far: 4038.0
If we subtract 7560 from 7713, we get 153.
Include the next digit (8) from the dividend after 153, then repeat: 1538 / 945

Let's proceed to step 8:
When dividing 1538 by 945, we get 1 with a remainder of 593.
Write down 1 as next digit of the result. 
Result so far: 40381.0
If we take 945 away from 1538, we end up with 593.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5930, and continue the process.

Step 9:
945 goes into 5930 6 times with a remainder of 260.
The next digit of our result is 6. 
Result so far: 40381.6
If we take 5670 away from 5930, we end up with 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2600, and continue the process.

Step 10:
The number 945 fits into 2600 2 times, leaving a remainder of 710.
Use 2 as the next digit of our solution. 
Result so far: 40381.62
If we subtract 1890 from 2600, we get 710.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7100, and continue the process.

On to step 11:
945 goes into 7100 7 times with a remainder of 485.
The number 7 becomes the next digit in our result. 
Result so far: 40381.627
If we subtract 6615 from 7100, we get 485.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4850, and continue the process.

Moving on to step 12:
4850 divided by 945 is 5 with a remainder of 125.
Put 5 as the next digit of the answer. 
Result so far: 40381.6275
Subtracting 4725 from 4850 leaves us with 125.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1250, and continue the process.

Moving on to step 13:
1250 divided by 945 is 1 with a remainder of 305.
Write down 1 as next digit of the result. 
Result so far: 40381.62751
If we subtract 945 from 1250, we get 305.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3050, and continue the process.

On to step 14:
The number 945 fits into 3050 3 times, leaving a remainder of 215.
Use 3 as the next digit of our solution. 
Result so far: 40381.627513
The remainder is 215 after subtracting 2835 from 3050.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2150, and continue the process.

Going ahead to step 15:
945 goes into 2150 2 times with a remainder of 260.
Write down 2 as next digit of the result. 
Result so far: 40381.6275132
Deduct 1890 from 2150 and we're left with 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2600, and continue the process.

Advancing to step 16:
The number 945 fits into 2600 2 times, leaving a remainder of 710.
The next digit of our result is 2. 
Result so far: 40381.62751322
The remainder is 710 after subtracting 1890 from 2600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7100, and continue the process.

The final result is 40381.62751322 with a remainder of 7.1e-07.