Let's divide 878942 by 42
Our goal is to divide 878942 by 42.

Going ahead to step 1:
42 can be fit into 8 0 times, resulting in a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Fetch the next digit (7) from the dividend, attach it to 8 and continue: 87 / 42

Step 2:
42 can be fit into 87 2 times, resulting in a remainder of 3.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtract 84 from 87 to get 3.
Bring next digit (8) of the dividend behind the 3 and repeat the process: 38 / 42

Going ahead to step 3:
42 goes into 38 0 times with a remainder of 38.
Use 0 as the next digit of our solution. 
Result so far: 20.0
If we take 0 away from 38, we end up with 38.
Take the next digit (9) from the dividend and append it to 38, then repeat: 389 / 42

Step 4:
When dividing 389 by 42, we get 9 with a remainder of 11.
Use 9 as the next digit of our solution. 
Result so far: 209.0
Subtract 378 from 389 to get 11.
Fetch the next digit (4) from the dividend, attach it to 11 and continue: 114 / 42

Going ahead to step 5:
The number 42 fits into 114 2 times, leaving a remainder of 30.
The next digit of our result is 2. 
Result so far: 2092.0
If we subtract 84 from 114, we get 30.
Include the next digit (2) from the dividend after 30, then repeat: 302 / 42

Moving on to step 6:
The number 42 fits into 302 7 times, leaving a remainder of 8.
Record the quotient 7 as the next digit in the result. 
Result so far: 20927.0
Subtract 294 from 302 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 7:
80 divided by 42 is 1 with a remainder of 38.
Write down 1 as next digit of the result. 
Result so far: 20927.1
If we take 42 away from 80, we end up 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.

On to step 8:
When dividing 380 by 42, we get 9 with a remainder of 2.
Put 9 as the next digit of the answer. 
Result so far: 20927.19
The remainder is 2 after subtracting 378 from 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 9:
When dividing 20 by 42, we get 0 with a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 20927.19
Subtract 0 from 20 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 10:
If we divide 200 by 42, we get 4 and a remainder of 32.
Put 4 as the next digit of the answer. 
Result so far: 20927.1904
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 11:
The number 42 fits into 320 7 times, leaving a remainder of 26.
Write down 7 as next digit of the result. 
Result so far: 20927.19047
If we take 294 away from 320, we end up 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.

Advancing to step 12:
260 divided by 42 is 6 with a remainder of 8.
Put 6 as the next digit of the answer. 
Result so far: 20927.190476
If we subtract 252 from 260, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 13:
42 can be fit into 80 1 times, resulting in a remainder of 38.
Record the quotient 1 as the next digit in the result. 
Result so far: 20927.1904761
Subtracting 42 from 80 leaves us 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.

Let's proceed to step 14:
42 goes into 380 9 times with a remainder of 2.
Record the quotient 9 as the next digit in the result. 
Result so far: 20927.19047619
If we subtract 378 from 380, we 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.

The final result is 20927.19047619 with a remainder of 2e-09.