We look at the division of 542586 by 87 
Our goal is to divide 542586 by 87.

Step 1:
When dividing 5 by 87, we get 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Grab the next digit (4) from the dividend, add it to 5, then carry on: 54 / 87

On to step 2:
87 can be fit into 54 0 times, resulting in a remainder of 54.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 54, we end up with 54.
Include the next digit (2) from the dividend after 54, then repeat: 542 / 87

Let's proceed to step 3:
542 divided by 87 is 6 with a remainder of 20.
Put 6 as the next digit of the answer. 
Result so far: 6.0
Deduct 522 from 542 and we're left with 20.
Include the next digit (5) from the dividend after 20, then repeat: 205 / 87

Moving on to step 4:
If we divide 205 by 87, we get 2 and a remainder of 31.
Write down 2 as next digit of the result. 
Result so far: 62.0
If we take 174 away from 205, we end up with 31.
Bring next digit (8) of the dividend behind the 31 and repeat the process: 318 / 87

Going ahead to step 5:
87 can be fit into 318 3 times, resulting in a remainder of 57.
The number 3 becomes the next digit in our result. 
Result so far: 623.0
Subtracting 261 from 318 leaves us with 57.
Include the next digit (6) from the dividend after 57, then repeat: 576 / 87

On to step 6:
When dividing 576 by 87, we get 6 with a remainder of 54.
The next digit of our result is 6. 
Result so far: 6236.0
Subtract 522 from 576 to get 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Moving on to step 7:
The number 87 fits into 540 6 times, leaving a remainder of 18.
The number 6 becomes the next digit in our result. 
Result so far: 6236.6
Subtracting 522 from 540 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Advancing to step 8:
When dividing 180 by 87, we get 2 with a remainder of 6.
Record the quotient 2 as the next digit in the result. 
Result so far: 6236.62
The remainder is 6 after subtracting 174 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 9:
The number 87 fits into 60 0 times, leaving a remainder of 60.
Write down 0 as next digit of the result. 
Result so far: 6236.62
Subtract 0 from 60 to get 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Going ahead to step 10:
If we divide 600 by 87, we get 6 and a remainder of 78.
Record the quotient 6 as the next digit in the result. 
Result so far: 6236.6206
Subtracting 522 from 600 leaves us with 78.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Going ahead to step 11:
780 divided by 87 is 8 with a remainder of 84.
Use 8 as the next digit of our solution. 
Result so far: 6236.62068
If we take 696 away from 780, we end up with 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Moving on to step 12:
87 can be fit into 840 9 times, resulting in a remainder of 57.
Use 9 as the next digit of our solution. 
Result so far: 6236.620689
Deduct 783 from 840 and we're left with 57.
Since there are no more digits in the dividend, we add a zero to the remainder making it 570, and continue the process.

Going ahead to step 13:
570 divided by 87 is 6 with a remainder of 48.
Put 6 as the next digit of the answer. 
Result so far: 6236.6206896
The remainder is 48 after subtracting 522 from 570.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Going ahead to step 14:
When dividing 480 by 87, we get 5 with a remainder of 45.
Use 5 as the next digit of our solution. 
Result so far: 6236.62068965
Subtract 435 from 480 to get 45.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

The final result is 6236.62068965 with a remainder of 4.5e-08.