We look at the division of 40047105 by 377 
We want to divide 40047105 by 377.

Going ahead to step 1:
377 goes into 4 0 times with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 377

Step 2:
377 can be fit into 40 0 times, resulting in a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Take the next digit (0) from the dividend and append it to 40, then repeat: 400 / 377

Going ahead to step 3:
If we divide 400 by 377, we get 1 and a remainder of 23.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 23 after subtracting 377 from 400.
Fetch the next digit (4) from the dividend, attach it to 23 and continue: 234 / 377

Moving on to step 4:
377 can be fit into 234 0 times, resulting in a remainder of 234.
Record the quotient 0 as the next digit in the result. 
Result so far: 10.0
Deduct 0 from 234 and we're left with 234.
Bring next digit (7) of the dividend behind the 234 and repeat the process: 2347 / 377

Moving on to step 5:
When dividing 2347 by 377, we get 6 with a remainder of 85.
The next digit of our result is 6. 
Result so far: 106.0
If we take 2262 away from 2347, we end up with 85.
Append the next digit (1) from the dividend to 85 and continue with: 851 / 377

On to step 6:
851 divided by 377 is 2 with a remainder of 97.
Put 2 as the next digit of the answer. 
Result so far: 1062.0
If we take 754 away from 851, we end up with 97.
Bring next digit (0) of the dividend behind the 97 and repeat the process: 970 / 377

Step 7:
377 goes into 970 2 times with a remainder of 216.
The next digit of our result is 2. 
Result so far: 10622.0
Deduct 754 from 970 and we're left with 216.
Bring next digit (5) of the dividend behind the 216 and repeat the process: 2165 / 377

Let's proceed to step 8:
If we divide 2165 by 377, we get 5 and a remainder of 280.
Put 5 as the next digit of the answer. 
Result so far: 106225.0
The remainder is 280 after subtracting 1885 from 2165.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2800, and continue the process.

Advancing to step 9:
If we divide 2800 by 377, we get 7 and a remainder of 161.
Use 7 as the next digit of our solution. 
Result so far: 106225.7
If we subtract 2639 from 2800, we get 161.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1610, and continue the process.

Advancing to step 10:
The number 377 fits into 1610 4 times, leaving a remainder of 102.
Use 4 as the next digit of our solution. 
Result so far: 106225.74
The remainder is 102 after subtracting 1508 from 1610.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1020, and continue the process.

Let's proceed to step 11:
If we divide 1020 by 377, we get 2 and a remainder of 266.
Put 2 as the next digit of the answer. 
Result so far: 106225.742
If we take 754 away from 1020, we end up with 266.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2660, and continue the process.

On to step 12:
The number 377 fits into 2660 7 times, leaving a remainder of 21.
Put 7 as the next digit of the answer. 
Result so far: 106225.7427
If we take 2639 away from 2660, we end up with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Moving on to step 13:
377 can be fit into 210 0 times, resulting in a remainder of 210.
Write down 0 as next digit of the result. 
Result so far: 106225.7427
Deduct 0 from 210 and we're left with 210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2100, and continue the process.

Going ahead to step 14:
The number 377 fits into 2100 5 times, leaving a remainder of 215.
Put 5 as the next digit of the answer. 
Result so far: 106225.742705
If we take 1885 away from 2100, we end up with 215.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2150, and continue the process.

Moving on to step 15:
2150 divided by 377 is 5 with a remainder of 265.
The next digit of our result is 5. 
Result so far: 106225.7427055
If we subtract 1885 from 2150, we get 265.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2650, and continue the process.

After the division, we end up with 106225.7427055 and a remainder of 2.65e-06.