Let's divide 842288 by 42
We want to divide 842288 by 42.

Step 1:
42 goes into 8 0 times with a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Include the next digit (4) from the dividend after 8, then repeat: 84 / 42

On to step 2:
42 can be fit into 84 2 times, resulting in a remainder of 0.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtracting 84 from 84 leaves us with 0.
Grab the next digit (2) from the dividend, add it to 0, then carry on: 2 / 42

Moving on to step 3:
When dividing 2 by 42, we get 0 with a remainder of 2.
The next digit of our result is 0. 
Result so far: 20.0
If we take 0 away from 2, we end up with 2.
Include the next digit (2) from the dividend after 2, then repeat: 22 / 42

Moving on to step 4:
If we divide 22 by 42, we get 0 and a remainder of 22.
The number 0 becomes the next digit in our result. 
Result so far: 200.0
If we subtract 0 from 22, we get 22.
Fetch the next digit (8) from the dividend, attach it to 22 and continue: 228 / 42

Step 5:
42 goes into 228 5 times with a remainder of 18.
Put 5 as the next digit of the answer. 
Result so far: 2005.0
Deduct 210 from 228 and we're left with 18.
Bring next digit (8) of the dividend behind the 18 and repeat the process: 188 / 42

Advancing to step 6:
The number 42 fits into 188 4 times, leaving a remainder of 20.
Use 4 as the next digit of our solution. 
Result so far: 20054.0
If we subtract 168 from 188, we 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 7:
If we divide 200 by 42, we get 4 and a remainder of 32.
Record the quotient 4 as the next digit in the result. 
Result so far: 20054.4
Subtract 168 from 200 to get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Step 8:
320 divided by 42 is 7 with a remainder of 26.
Put 7 as the next digit of the answer. 
Result so far: 20054.47
Subtracting 294 from 320 leaves us with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Going ahead to step 9:
42 goes into 260 6 times with a remainder of 8.
Put 6 as the next digit of the answer. 
Result so far: 20054.476
The remainder is 8 after subtracting 252 from 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 10:
42 goes into 80 1 times with a remainder of 38.
Use 1 as the next digit of our solution. 
Result so far: 20054.4761
Deduct 42 from 80 and we're left with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Step 11:
42 can be fit into 380 9 times, resulting in a remainder of 2.
Record the quotient 9 as the next digit in the result. 
Result so far: 20054.47619
Subtract 378 from 380 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 12:
If we divide 20 by 42, we get 0 and a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 20054.47619
If we subtract 0 from 20, we 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.

On to step 13:
If we divide 200 by 42, we get 4 and a remainder of 32.
The number 4 becomes the next digit in our result. 
Result so far: 20054.4761904
Subtracting 168 from 200 leaves us with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Let's proceed to step 14:
When dividing 320 by 42, we get 7 with a remainder of 26.
The next digit of our result is 7. 
Result so far: 20054.47619047
Subtract 294 from 320 to get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Our division results in 20054.47619047 with a remaining 2.6e-08.