We divide 849818 by 40
Let's see how many times 40 fits into 849818.

Advancing to step 1:
40 can be fit into 8 0 times, resulting in a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Take the next digit (4) from the dividend and append it to 8, then repeat: 84 / 40

Going ahead 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
Subtracting 80 from 84 leaves us with 4.
Take the next digit (9) from the dividend and append it to 4, then repeat: 49 / 40

Advancing to step 3:
40 goes into 49 1 times with a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 21.0
Subtracting 40 from 49 leaves us with 9.
Append the next digit (8) from the dividend to 9 and continue with: 98 / 40

Advancing to step 4:
98 divided by 40 is 2 with 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.
Grab the next digit (1) from the dividend, add it to 18, then carry on: 181 / 40

On to step 5:
If we divide 181 by 40, we get 4 and a remainder of 21.
The next digit of our result is 4. 
Result so far: 2124.0
If we subtract 160 from 181, we get 21.
Include the next digit (8) from the dividend after 21, then repeat: 218 / 40

On to step 6:
218 divided by 40 is 5 with a remainder of 18.
Write down 5 as next digit of the result. 
Result so far: 21245.0
Subtract 200 from 218 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

On to step 7:
40 goes into 180 4 times with a remainder of 20.
Put 4 as the next digit of the answer. 
Result so far: 21245.4
If we subtract 160 from 180, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 8:
200 divided by 40 is 5 with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 21245.45
The remainder is 0 after subtracting 200 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 9:
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.45
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 10:
0 divided by 40 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 21245.45
The remainder is 0 after subtracting 0 from 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 quotient of the division is 21245.45, and the remainder is 0.0.