Let's divide 342212 by 40
We want to figure out the number of times 342212 can be divided by 40.

Moving on to step 1:
3 divided by 40 is 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Fetch the next digit (4) from the dividend, attach it to 3 and continue: 34 / 40

Let's proceed to step 2:
If we divide 34 by 40, we get 0 and a remainder of 34.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 34 and we're left with 34.
Include the next digit (2) from the dividend after 34, then repeat: 342 / 40

Moving on to step 3:
When dividing 342 by 40, we get 8 with a remainder of 22.
Write down 8 as next digit of the result. 
Result so far: 8.0
The remainder is 22 after subtracting 320 from 342.
Append the next digit (2) from the dividend to 22 and continue with: 222 / 40

Going ahead to step 4:
The number 40 fits into 222 5 times, leaving a remainder of 22.
Write down 5 as next digit of the result. 
Result so far: 85.0
If we take 200 away from 222, we end up with 22.
Bring next digit (1) of the dividend behind the 22 and repeat the process: 221 / 40

Moving on to step 5:
40 goes into 221 5 times with a remainder of 21.
The number 5 becomes the next digit in our result. 
Result so far: 855.0
Subtract 200 from 221 to get 21.
Grab the next digit (2) from the dividend, add it to 21, then carry on: 212 / 40

Advancing to step 6:
40 goes into 212 5 times with a remainder of 12.
Use 5 as the next digit of our solution. 
Result so far: 8555.0
Subtracting 200 from 212 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 7:
The number 40 fits into 120 3 times, leaving a remainder of 0.
The number 3 becomes the next digit in our result. 
Result so far: 8555.3
The remainder is 0 after subtracting 120 from 120.
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 8:
40 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 8555.3
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.

Step 9:
0 divided by 40 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 8555.3
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.

Our division results in 8555.3 with a remaining 0.0.