We look at the division of 849804 by 40 
We want to figure out the number of times 849804 can be divided by 40.

Moving on to step 1:
40 can be fit into 8 0 times, resulting in a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Take the next digit (4) from the dividend and append it to 8, then repeat: 84 / 40

Advancing to step 2:
When dividing 84 by 40, we get 2 with a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
If we subtract 80 from 84, we get 4.
Include the next digit (9) from the dividend after 4, then repeat: 49 / 40

Step 3:
40 goes into 49 1 times with a remainder of 9.
The next digit of our result is 1. 
Result so far: 21.0
If we subtract 40 from 49, we get 9.
Include the next digit (8) from the dividend after 9, then repeat: 98 / 40

Going ahead to step 4:
The number 40 fits into 98 2 times, leaving a remainder of 18.
Record the quotient 2 as the next digit in the result. 
Result so far: 212.0
Subtracting 80 from 98 leaves us with 18.
Include the next digit (0) from the dividend after 18, then repeat: 180 / 40

Step 5:
40 can be fit into 180 4 times, resulting in a remainder of 20.
The next digit of our result is 4. 
Result so far: 2124.0
If we take 160 away from 180, we end up with 20.
Append the next digit (4) from the dividend to 20 and continue with: 204 / 40

On to step 6:
The number 40 fits into 204 5 times, leaving a remainder of 4.
Record the quotient 5 as the next digit in the result. 
Result so far: 21245.0
Subtracting 200 from 204 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 7:
40 can be fit into 40 1 times, resulting in a remainder of 0.
Record the quotient 1 as the next digit in the result. 
Result so far: 21245.1
The remainder is 0 after subtracting 40 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 8:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 21245.1
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 9:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 21245.1
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final result is 21245.1 with a remainder of 0.0.