40379217 ÷ 674 
We want to divide 40379217 by 674.

Step 1:
674 can be fit into 4 0 times, resulting in a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 674

On to step 2:
The number 674 fits into 40 0 times, leaving a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Grab the next digit (3) from the dividend, add it to 40, then carry on: 403 / 674

Let's proceed to step 3:
674 can be fit into 403 0 times, resulting in a remainder of 403.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 403 to get 403.
Take the next digit (7) from the dividend and append it to 403, then repeat: 4037 / 674

Step 4:
674 goes into 4037 5 times with a remainder of 667.
Use 5 as the next digit of our solution. 
Result so far: 5.0
The remainder is 667 after subtracting 3370 from 4037.
Include the next digit (9) from the dividend after 667, then repeat: 6679 / 674

Step 5:
The number 674 fits into 6679 9 times, leaving a remainder of 613.
The number 9 becomes the next digit in our result. 
Result so far: 59.0
Deduct 6066 from 6679 and we're left with 613.
Append the next digit (2) from the dividend to 613 and continue with: 6132 / 674

Step 6:
When dividing 6132 by 674, we get 9 with a remainder of 66.
Write down 9 as next digit of the result. 
Result so far: 599.0
If we subtract 6066 from 6132, we get 66.
Grab the next digit (1) from the dividend, add it to 66, then carry on: 661 / 674

Moving on to step 7:
661 divided by 674 is 0 with a remainder of 661.
The next digit of our result is 0. 
Result so far: 5990.0
Subtract 0 from 661 to get 661.
Append the next digit (7) from the dividend to 661 and continue with: 6617 / 674

Step 8:
674 can be fit into 6617 9 times, resulting in a remainder of 551.
The next digit of our result is 9. 
Result so far: 59909.0
Subtracting 6066 from 6617 leaves us with 551.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5510, and continue the process.

Step 9:
674 goes into 5510 8 times with a remainder of 118.
The number 8 becomes the next digit in our result. 
Result so far: 59909.8
If we subtract 5392 from 5510, we get 118.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1180, and continue the process.

Advancing to step 10:
If we divide 1180 by 674, we get 1 and a remainder of 506.
Put 1 as the next digit of the answer. 
Result so far: 59909.81
If we take 674 away from 1180, we end up with 506.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5060, and continue the process.

Step 11:
The number 674 fits into 5060 7 times, leaving a remainder of 342.
Put 7 as the next digit of the answer. 
Result so far: 59909.817
The remainder is 342 after subtracting 4718 from 5060.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3420, and continue the process.

Advancing to step 12:
674 goes into 3420 5 times with a remainder of 50.
Record the quotient 5 as the next digit in the result. 
Result so far: 59909.8175
Deduct 3370 from 3420 and we're left with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Let's proceed to step 13:
The number 674 fits into 500 0 times, leaving a remainder of 500.
Use 0 as the next digit of our solution. 
Result so far: 59909.8175
Subtracting 0 from 500 leaves us with 500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5000, and continue the process.

Let's proceed to step 14:
The number 674 fits into 5000 7 times, leaving a remainder of 282.
Write down 7 as next digit of the result. 
Result so far: 59909.817507
Deduct 4718 from 5000 and we're left with 282.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2820, and continue the process.

Going ahead to step 15:
If we divide 2820 by 674, we get 4 and a remainder of 124.
Put 4 as the next digit of the answer. 
Result so far: 59909.8175074
The remainder is 124 after subtracting 2696 from 2820.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1240, and continue the process.

Step 16:
674 goes into 1240 1 times with a remainder of 566.
Record the quotient 1 as the next digit in the result. 
Result so far: 59909.81750741
Deduct 674 from 1240 and we're left with 566.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5660, and continue the process.

The quotient of the division is 59909.81750741, and the remainder is 5.66e-07.