We look at the division of 522342 by 87 
We want to divide 522342 by 87.

On to step 1:
The number 87 fits into 5 0 times, leaving a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Bring next digit (2) of the dividend behind the 5 and repeat the process: 52 / 87

Step 2:
If we divide 52 by 87, we get 0 and a remainder of 52.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 52 to get 52.
Take the next digit (2) from the dividend and append it to 52, then repeat: 522 / 87

Step 3:
87 goes into 522 6 times with a remainder of 0.
The next digit of our result is 6. 
Result so far: 6.0
If we subtract 522 from 522, we get 0.
Bring next digit (3) of the dividend behind the 0 and repeat the process: 3 / 87

Advancing to step 4:
87 can be fit into 3 0 times, resulting in a remainder of 3.
The next digit of our result is 0. 
Result so far: 60.0
Subtract 0 from 3 to get 3.
Append the next digit (4) from the dividend to 3 and continue with: 34 / 87

Advancing to step 5:
34 divided by 87 is 0 with a remainder of 34.
The number 0 becomes the next digit in our result. 
Result so far: 600.0
If we subtract 0 from 34, we get 34.
Append the next digit (2) from the dividend to 34 and continue with: 342 / 87

On to step 6:
The number 87 fits into 342 3 times, leaving a remainder of 81.
The next digit of our result is 3. 
Result so far: 6003.0
Deduct 261 from 342 and we're left with 81.
Since there are no more digits in the dividend, we add a zero to the remainder making it 810, and continue the process.

Let's proceed to step 7:
810 divided by 87 is 9 with a remainder of 27.
Put 9 as the next digit of the answer. 
Result so far: 6003.9
Subtracting 783 from 810 leaves us with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Going ahead to step 8:
270 divided by 87 is 3 with a remainder of 9.
The number 3 becomes the next digit in our result. 
Result so far: 6003.93
Subtract 261 from 270 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Step 9:
If we divide 90 by 87, we get 1 and a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 6003.931
Subtract 87 from 90 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 10:
When dividing 30 by 87, we get 0 with a remainder of 30.
Record the quotient 0 as the next digit in the result. 
Result so far: 6003.931
The remainder is 30 after subtracting 0 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 11:
300 divided by 87 is 3 with a remainder of 39.
Write down 3 as next digit of the result. 
Result so far: 6003.93103
Subtract 261 from 300 to get 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Advancing to step 12:
87 can be fit into 390 4 times, resulting in a remainder of 42.
Use 4 as the next digit of our solution. 
Result so far: 6003.931034
Subtract 348 from 390 to get 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Moving on to step 13:
The number 87 fits into 420 4 times, leaving a remainder of 72.
Put 4 as the next digit of the answer. 
Result so far: 6003.9310344
Subtracting 348 from 420 leaves us with 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

After the division, we end up with 6003.9310344 and a remainder of 7.2e-07.