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

Let's proceed to step 1:
If we divide 8 by 40, we get 0 and a remainder of 8.
Use 0 as the next digit of our solution. 
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

Let's proceed to step 2:
If we divide 84 by 40, we get 2 and a remainder of 4.
The next digit of our result is 2. 
Result so far: 2.0
If we take 80 away from 84, we end up with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 40

On to step 3:
If we divide 40 by 40, we get 1 and a remainder of 0.
The number 1 becomes the next digit in our result. 
Result so far: 21.0
Deduct 40 from 40 and we're left with 0.
Fetch the next digit (8) from the dividend, attach it to 0 and continue: 8 / 40

Moving on to step 4:
8 divided by 40 is 0 with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 210.0
Deduct 0 from 8 and we're left with 8.
Bring next digit (4) of the dividend behind the 8 and repeat the process: 84 / 40

Step 5:
When dividing 84 by 40, we get 2 with a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 2102.0
If we subtract 80 from 84, we get 4.
Append the next digit (8) from the dividend to 4 and continue with: 48 / 40

Going ahead to step 6:
When dividing 48 by 40, we get 1 with a remainder of 8.
Record the quotient 1 as the next digit in the result. 
Result so far: 21021.0
Deduct 40 from 48 and we're left with 8.
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:
If we divide 80 by 40, we get 2 and a remainder of 0.
Use 2 as the next digit of our solution. 
Result so far: 21021.2
If we take 80 away from 80, we end up 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.

Let's proceed to step 8:
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: 21021.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.

Moving on to step 9:
If we divide 0 by 40, we get 0 and a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 21021.2
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 quotient of the division is 21021.2, and the remainder is 0.0.