Let's divide 40978280 by 371
We're looking to find how many times 371 goes into 40978280.

Advancing to step 1:
When dividing 4 by 371, we get 0 with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 371

Let's proceed to step 2:
When dividing 40 by 371, we get 0 with a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Fetch the next digit (9) from the dividend, attach it to 40 and continue: 409 / 371

Let's proceed to step 3:
If we divide 409 by 371, we get 1 and a remainder of 38.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 371 from 409 and we're left with 38.
Append the next digit (7) from the dividend to 38 and continue with: 387 / 371

Step 4:
371 can be fit into 387 1 times, resulting in a remainder of 16.
Put 1 as the next digit of the answer. 
Result so far: 11.0
The remainder is 16 after subtracting 371 from 387.
Include the next digit (8) from the dividend after 16, then repeat: 168 / 371

Step 5:
The number 371 fits into 168 0 times, leaving a remainder of 168.
Record the quotient 0 as the next digit in the result. 
Result so far: 110.0
Deduct 0 from 168 and we're left with 168.
Bring next digit (2) of the dividend behind the 168 and repeat the process: 1682 / 371

Advancing to step 6:
1682 divided by 371 is 4 with a remainder of 198.
Write down 4 as next digit of the result. 
Result so far: 1104.0
The remainder is 198 after subtracting 1484 from 1682.
Take the next digit (8) from the dividend and append it to 198, then repeat: 1988 / 371

Going ahead to step 7:
When dividing 1988 by 371, we get 5 with a remainder of 133.
The number 5 becomes the next digit in our result. 
Result so far: 11045.0
The remainder is 133 after subtracting 1855 from 1988.
Grab the next digit (0) from the dividend, add it to 133, then carry on: 1330 / 371

On to step 8:
The number 371 fits into 1330 3 times, leaving a remainder of 217.
Use 3 as the next digit of our solution. 
Result so far: 110453.0
The remainder is 217 after subtracting 1113 from 1330.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2170, and continue the process.

Advancing to step 9:
The number 371 fits into 2170 5 times, leaving a remainder of 315.
Write down 5 as next digit of the result. 
Result so far: 110453.5
Subtract 1855 from 2170 to get 315.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3150, and continue the process.

On to step 10:
When dividing 3150 by 371, we get 8 with a remainder of 182.
Write down 8 as next digit of the result. 
Result so far: 110453.58
If we subtract 2968 from 3150, we get 182.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1820, and continue the process.

Advancing to step 11:
When dividing 1820 by 371, we get 4 with a remainder of 336.
Record the quotient 4 as the next digit in the result. 
Result so far: 110453.584
If we subtract 1484 from 1820, we get 336.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3360, and continue the process.

Going ahead to step 12:
371 can be fit into 3360 9 times, resulting in a remainder of 21.
Record the quotient 9 as the next digit in the result. 
Result so far: 110453.5849
The remainder is 21 after subtracting 3339 from 3360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

On to step 13:
371 goes into 210 0 times with a remainder of 210.
Put 0 as the next digit of the answer. 
Result so far: 110453.5849
Subtracting 0 from 210 leaves us 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.

Step 14:
371 goes into 2100 5 times with a remainder of 245.
Write down 5 as next digit of the result. 
Result so far: 110453.584905
The remainder is 245 after subtracting 1855 from 2100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2450, and continue the process.

Advancing to step 15:
2450 divided by 371 is 6 with a remainder of 224.
The number 6 becomes the next digit in our result. 
Result so far: 110453.5849056
Subtracting 2226 from 2450 leaves us with 224.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2240, and continue the process.

Going ahead to step 16:
If we divide 2240 by 371, we get 6 and a remainder of 14.
Write down 6 as next digit of the result. 
Result so far: 110453.58490566
Subtract 2226 from 2240 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

The final outcome is 110453.58490566, with a leftover of 1.4e-08.