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

Advancing to step 1:
8 divided by 40 is 0 with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Append the next digit (2) from the dividend to 8 and continue with: 82 / 40

Going ahead to step 2:
40 can be fit into 82 2 times, resulting in a remainder of 2.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Subtracting 80 from 82 leaves us with 2.
Fetch the next digit (4) from the dividend, attach it to 2 and continue: 24 / 40

Going ahead to step 3:
When dividing 24 by 40, we get 0 with a remainder of 24.
Use 0 as the next digit of our solution. 
Result so far: 20.0
If we subtract 0 from 24, we get 24.
Grab the next digit (8) from the dividend, add it to 24, then carry on: 248 / 40

On to step 4:
40 goes into 248 6 times with a remainder of 8.
Put 6 as the next digit of the answer. 
Result so far: 206.0
Subtract 240 from 248 to get 8.
Bring next digit (4) of the dividend behind the 8 and repeat the process: 84 / 40

On to step 5:
84 divided by 40 is 2 with a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 2062.0
The remainder is 4 after subtracting 80 from 84.
Include the next digit (8) from the dividend after 4, then repeat: 48 / 40

Moving on to step 6:
When dividing 48 by 40, we get 1 with a remainder of 8.
Put 1 as the next digit of the answer. 
Result so far: 20621.0
The remainder is 8 after subtracting 40 from 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 7:
80 divided by 40 is 2 with a remainder of 0.
Put 2 as the next digit of the answer. 
Result so far: 20621.2
Subtract 80 from 80 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 8:
If we divide 0 by 40, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 20621.2
Deduct 0 from 0 and we're left 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.

Advancing to step 9:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 20621.2
If we subtract 0 from 0, we 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.

The final outcome is 20621.2, with a leftover of 0.0.