We're dividing 40051884 by 378 
We want to figure out the number of times 40051884 can be divided by 378.

Advancing to step 1:
If we divide 4 by 378, we get 0 and a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 378

Moving on to step 2:
If we divide 40 by 378, we get 0 and a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Take the next digit (0) from the dividend and append it to 40, then repeat: 400 / 378

Advancing to step 3:
When dividing 400 by 378, we get 1 with a remainder of 22.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 378 away from 400, we end up with 22.
Bring next digit (5) of the dividend behind the 22 and repeat the process: 225 / 378

Going ahead to step 4:
378 goes into 225 0 times with a remainder of 225.
Record the quotient 0 as the next digit in the result. 
Result so far: 10.0
Subtract 0 from 225 to get 225.
Fetch the next digit (1) from the dividend, attach it to 225 and continue: 2251 / 378

Step 5:
2251 divided by 378 is 5 with a remainder of 361.
Use 5 as the next digit of our solution. 
Result so far: 105.0
Subtracting 1890 from 2251 leaves us with 361.
Bring next digit (8) of the dividend behind the 361 and repeat the process: 3618 / 378

Moving on to step 6:
378 goes into 3618 9 times with a remainder of 216.
The number 9 becomes the next digit in our result. 
Result so far: 1059.0
If we subtract 3402 from 3618, we get 216.
Include the next digit (8) from the dividend after 216, then repeat: 2168 / 378

Advancing to step 7:
When dividing 2168 by 378, we get 5 with a remainder of 278.
Put 5 as the next digit of the answer. 
Result so far: 10595.0
If we subtract 1890 from 2168, we get 278.
Grab the next digit (4) from the dividend, add it to 278, then carry on: 2784 / 378

Advancing to step 8:
378 can be fit into 2784 7 times, resulting in a remainder of 138.
Use 7 as the next digit of our solution. 
Result so far: 105957.0
The remainder is 138 after subtracting 2646 from 2784.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1380, and continue the process.

Let's proceed to step 9:
378 can be fit into 1380 3 times, resulting in a remainder of 246.
Use 3 as the next digit of our solution. 
Result so far: 105957.3
The remainder is 246 after subtracting 1134 from 1380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2460, and continue the process.

Step 10:
If we divide 2460 by 378, we get 6 and a remainder of 192.
The next digit of our result is 6. 
Result so far: 105957.36
The remainder is 192 after subtracting 2268 from 2460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1920, and continue the process.

Advancing to step 11:
1920 divided by 378 is 5 with a remainder of 30.
The next digit of our result is 5. 
Result so far: 105957.365
Subtract 1890 from 1920 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 12:
378 can be fit into 300 0 times, resulting in a remainder of 300.
Record the quotient 0 as the next digit in the result. 
Result so far: 105957.365
If we subtract 0 from 300, we get 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3000, and continue the process.

On to step 13:
If we divide 3000 by 378, we get 7 and a remainder of 354.
Put 7 as the next digit of the answer. 
Result so far: 105957.36507
Subtracting 2646 from 3000 leaves us with 354.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3540, and continue the process.

Step 14:
3540 divided by 378 is 9 with a remainder of 138.
Record the quotient 9 as the next digit in the result. 
Result so far: 105957.365079
Deduct 3402 from 3540 and we're left with 138.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1380, and continue the process.

Moving on to step 15:
If we divide 1380 by 378, we get 3 and a remainder of 246.
Record the quotient 3 as the next digit in the result. 
Result so far: 105957.3650793
The remainder is 246 after subtracting 1134 from 1380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2460, and continue the process.

Going ahead to step 16:
2460 divided by 378 is 6 with a remainder of 192.
The next digit of our result is 6. 
Result so far: 105957.36507936
If we take 2268 away from 2460, we end up with 192.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1920, and continue the process.

After the division, we end up with 105957.36507936 and a remainder of 1.92e-07.