842482 ÷ 40 
Let's see how many times 40 fits into 842482.

Advancing to step 1:
40 goes into 8 0 times with a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Fetch the next digit (4) from the dividend, attach it to 8 and continue: 84 / 40

Step 2:
40 can be fit into 84 2 times, resulting in a remainder of 4.
The next digit of our result is 2. 
Result so far: 2.0
Subtracting 80 from 84 leaves us with 4.
Take the next digit (2) from the dividend and append it to 4, then repeat: 42 / 40

Moving on to step 3:
42 divided by 40 is 1 with a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 21.0
If we take 40 away from 42, we end up with 2.
Bring next digit (4) of the dividend behind the 2 and repeat the process: 24 / 40

Moving on to step 4:
When dividing 24 by 40, we get 0 with a remainder of 24.
Write down 0 as next digit of the result. 
Result so far: 210.0
If we subtract 0 from 24, we get 24.
Fetch the next digit (8) from the dividend, attach it to 24 and continue: 248 / 40

Let's proceed to step 5:
40 goes into 248 6 times with a remainder of 8.
Write down 6 as next digit of the result. 
Result so far: 2106.0
The remainder is 8 after subtracting 240 from 248.
Fetch the next digit (2) from the dividend, attach it to 8 and continue: 82 / 40

Advancing to step 6:
If we divide 82 by 40, we get 2 and a remainder of 2.
The next digit of our result is 2. 
Result so far: 21062.0
If we take 80 away from 82, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 7:
40 goes into 20 0 times with a remainder of 20.
The next digit of our result is 0. 
Result so far: 21062.0
If we take 0 away from 20, we end up with 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:
40 goes into 200 5 times with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 21062.05
Subtract 200 from 200 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.

Step 9:
If we divide 0 by 40, we get 0 and a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 21062.05
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.

Moving on to step 10:
40 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 21062.05
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 final outcome is 21062.05, with a leftover of 0.0.