We're dividing 40474583 by 671 
Our goal is to divide 40474583 by 671.

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

Let's proceed to step 2:
When dividing 40 by 671, we get 0 with a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Bring next digit (4) of the dividend behind the 40 and repeat the process: 404 / 671

Let's proceed to step 3:
The number 671 fits into 404 0 times, leaving a remainder of 404.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 404 after subtracting 0 from 404.
Bring next digit (7) of the dividend behind the 404 and repeat the process: 4047 / 671

Moving on to step 4:
671 can be fit into 4047 6 times, resulting in a remainder of 21.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
If we subtract 4026 from 4047, we get 21.
Append the next digit (4) from the dividend to 21 and continue with: 214 / 671

Let's proceed to step 5:
If we divide 214 by 671, we get 0 and a remainder of 214.
The number 0 becomes the next digit in our result. 
Result so far: 60.0
If we take 0 away from 214, we end up with 214.
Take the next digit (5) from the dividend and append it to 214, then repeat: 2145 / 671

Step 6:
If we divide 2145 by 671, we get 3 and a remainder of 132.
Put 3 as the next digit of the answer. 
Result so far: 603.0
If we subtract 2013 from 2145, we get 132.
Bring next digit (8) of the dividend behind the 132 and repeat the process: 1328 / 671

Step 7:
1328 divided by 671 is 1 with a remainder of 657.
Record the quotient 1 as the next digit in the result. 
Result so far: 6031.0
The remainder is 657 after subtracting 671 from 1328.
Grab the next digit (3) from the dividend, add it to 657, then carry on: 6573 / 671

On to step 8:
671 can be fit into 6573 9 times, resulting in a remainder of 534.
Write down 9 as next digit of the result. 
Result so far: 60319.0
If we subtract 6039 from 6573, we get 534.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5340, and continue the process.

Step 9:
When dividing 5340 by 671, we get 7 with a remainder of 643.
Record the quotient 7 as the next digit in the result. 
Result so far: 60319.7
Deduct 4697 from 5340 and we're left with 643.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6430, and continue the process.

Moving on to step 10:
When dividing 6430 by 671, we get 9 with a remainder of 391.
The number 9 becomes the next digit in our result. 
Result so far: 60319.79
Deduct 6039 from 6430 and we're left with 391.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3910, and continue the process.

Moving on to step 11:
The number 671 fits into 3910 5 times, leaving a remainder of 555.
The number 5 becomes the next digit in our result. 
Result so far: 60319.795
Subtracting 3355 from 3910 leaves us with 555.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5550, and continue the process.

Moving on to step 12:
671 goes into 5550 8 times with a remainder of 182.
Put 8 as the next digit of the answer. 
Result so far: 60319.7958
Subtract 5368 from 5550 to 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.

On to step 13:
1820 divided by 671 is 2 with a remainder of 478.
Use 2 as the next digit of our solution. 
Result so far: 60319.79582
If we take 1342 away from 1820, we end up with 478.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4780, and continue the process.

Moving on to step 14:
The number 671 fits into 4780 7 times, leaving a remainder of 83.
Write down 7 as next digit of the result. 
Result so far: 60319.795827
Subtract 4697 from 4780 to get 83.
Since there are no more digits in the dividend, we add a zero to the remainder making it 830, and continue the process.

Advancing to step 15:
When dividing 830 by 671, we get 1 with a remainder of 159.
Use 1 as the next digit of our solution. 
Result so far: 60319.7958271
Deduct 671 from 830 and we're left with 159.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1590, and continue the process.

Step 16:
671 can be fit into 1590 2 times, resulting in a remainder of 248.
The number 2 becomes the next digit in our result. 
Result so far: 60319.79582712
Subtracting 1342 from 1590 leaves us with 248.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2480, and continue the process.

The quotient of the division is 60319.79582712, and the remainder is 2.48e-07.