39917221 ÷ 804 
We want to divide 39917221 by 804.

Step 1:
804 goes into 3 0 times with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 804

Advancing to step 2:
39 divided by 804 is 0 with a remainder of 39.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 39 to get 39.
Take the next digit (9) from the dividend and append it to 39, then repeat: 399 / 804

Advancing to step 3:
804 can be fit into 399 0 times, resulting in a remainder of 399.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 399 leaves us with 399.
Append the next digit (1) from the dividend to 399 and continue with: 3991 / 804

Moving on to step 4:
804 goes into 3991 4 times with a remainder of 775.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
Subtract 3216 from 3991 to get 775.
Bring next digit (7) of the dividend behind the 775 and repeat the process: 7757 / 804

Advancing to step 5:
804 can be fit into 7757 9 times, resulting in a remainder of 521.
Use 9 as the next digit of our solution. 
Result so far: 49.0
Deduct 7236 from 7757 and we're left with 521.
Fetch the next digit (2) from the dividend, attach it to 521 and continue: 5212 / 804

On to step 6:
5212 divided by 804 is 6 with a remainder of 388.
Record the quotient 6 as the next digit in the result. 
Result so far: 496.0
Subtract 4824 from 5212 to get 388.
Fetch the next digit (2) from the dividend, attach it to 388 and continue: 3882 / 804

Going ahead to step 7:
The number 804 fits into 3882 4 times, leaving a remainder of 666.
Record the quotient 4 as the next digit in the result. 
Result so far: 4964.0
Subtracting 3216 from 3882 leaves us with 666.
Grab the next digit (1) from the dividend, add it to 666, then carry on: 6661 / 804

Advancing to step 8:
804 can be fit into 6661 8 times, resulting in a remainder of 229.
Use 8 as the next digit of our solution. 
Result so far: 49648.0
Subtracting 6432 from 6661 leaves us with 229.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2290, and continue the process.

Moving on to step 9:
2290 divided by 804 is 2 with a remainder of 682.
Put 2 as the next digit of the answer. 
Result so far: 49648.2
Subtract 1608 from 2290 to get 682.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6820, and continue the process.

On to step 10:
When dividing 6820 by 804, we get 8 with a remainder of 388.
Record the quotient 8 as the next digit in the result. 
Result so far: 49648.28
Subtracting 6432 from 6820 leaves us with 388.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3880, and continue the process.

On to step 11:
When dividing 3880 by 804, we get 4 with a remainder of 664.
Put 4 as the next digit of the answer. 
Result so far: 49648.284
Subtracting 3216 from 3880 leaves us with 664.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6640, and continue the process.

On to step 12:
804 goes into 6640 8 times with a remainder of 208.
Put 8 as the next digit of the answer. 
Result so far: 49648.2848
Subtract 6432 from 6640 to get 208.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2080, and continue the process.

Step 13:
When dividing 2080 by 804, we get 2 with a remainder of 472.
Write down 2 as next digit of the result. 
Result so far: 49648.28482
Subtract 1608 from 2080 to get 472.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4720, and continue the process.

On to step 14:
When dividing 4720 by 804, we get 5 with a remainder of 700.
Use 5 as the next digit of our solution. 
Result so far: 49648.284825
Deduct 4020 from 4720 and we're left with 700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7000, and continue the process.

Moving on to step 15:
7000 divided by 804 is 8 with a remainder of 568.
The number 8 becomes the next digit in our result. 
Result so far: 49648.2848258
Subtract 6432 from 7000 to get 568.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5680, and continue the process.

Let's proceed to step 16:
The number 804 fits into 5680 7 times, leaving a remainder of 52.
Use 7 as the next digit of our solution. 
Result so far: 49648.28482587
Subtracting 5628 from 5680 leaves us with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Our division results in 49648.28482587 with a remaining 5.2e-08.