We divide 242942 by 40
We want to figure out the number of times 242942 can be divided by 40.

Step 1:
If we divide 2 by 40, we get 0 and a remainder of 2.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 2, we end up with 2.
Append the next digit (4) from the dividend to 2 and continue with: 24 / 40

On to step 2:
The number 40 fits into 24 0 times, leaving a remainder of 24.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 24 to get 24.
Fetch the next digit (2) from the dividend, attach it to 24 and continue: 242 / 40

On to step 3:
If we divide 242 by 40, we get 6 and a remainder of 2.
The next digit of our result is 6. 
Result so far: 6.0
Subtract 240 from 242 to get 2.
Bring next digit (9) of the dividend behind the 2 and repeat the process: 29 / 40

Let's proceed to step 4:
If we divide 29 by 40, we get 0 and a remainder of 29.
Write down 0 as next digit of the result. 
Result so far: 60.0
Deduct 0 from 29 and we're left with 29.
Fetch the next digit (4) from the dividend, attach it to 29 and continue: 294 / 40

Let's proceed to step 5:
The number 40 fits into 294 7 times, leaving a remainder of 14.
The number 7 becomes the next digit in our result. 
Result so far: 607.0
Subtracting 280 from 294 leaves us with 14.
Include the next digit (2) from the dividend after 14, then repeat: 142 / 40

Step 6:
The number 40 fits into 142 3 times, leaving a remainder of 22.
Write down 3 as next digit of the result. 
Result so far: 6073.0
Subtract 120 from 142 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 7:
When dividing 220 by 40, we get 5 with a remainder of 20.
Use 5 as the next digit of our solution. 
Result so far: 6073.5
Subtract 200 from 220 to 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.

Step 8:
40 goes into 200 5 times with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 6073.55
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.

After the division, we end up with 6073.55 and a remainder of 0.0.