Let's divide 585939 by 87
We want to divide 585939 by 87.

Going ahead to step 1:
87 goes into 5 0 times with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 87

On to step 2:
87 goes into 58 0 times with a remainder of 58.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 58, we end up with 58.
Bring next digit (5) of the dividend behind the 58 and repeat the process: 585 / 87

Step 3:
If we divide 585 by 87, we get 6 and a remainder of 63.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
The remainder is 63 after subtracting 522 from 585.
Append the next digit (9) from the dividend to 63 and continue with: 639 / 87

Let's proceed to step 4:
When dividing 639 by 87, we get 7 with a remainder of 30.
Put 7 as the next digit of the answer. 
Result so far: 67.0
Subtract 609 from 639 to get 30.
Take the next digit (3) from the dividend and append it to 30, then repeat: 303 / 87

On to step 5:
87 goes into 303 3 times with a remainder of 42.
Write down 3 as next digit of the result. 
Result so far: 673.0
Deduct 261 from 303 and we're left with 42.
Take the next digit (9) from the dividend and append it to 42, then repeat: 429 / 87

Going ahead to step 6:
The number 87 fits into 429 4 times, leaving a remainder of 81.
Use 4 as the next digit of our solution. 
Result so far: 6734.0
Deduct 348 from 429 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.

On to step 7:
87 can be fit into 810 9 times, resulting in a remainder of 27.
The number 9 becomes the next digit in our result. 
Result so far: 6734.9
Deduct 783 from 810 and we're left 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.

Let's proceed to step 8:
The number 87 fits into 270 3 times, leaving a remainder of 9.
Use 3 as the next digit of our solution. 
Result so far: 6734.93
The remainder is 9 after subtracting 261 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 9:
The number 87 fits into 90 1 times, leaving a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 6734.931
If we subtract 87 from 90, we 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.

Step 10:
If we divide 30 by 87, we get 0 and a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 6734.931
Deduct 0 from 30 and we're left with 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:
If we divide 300 by 87, we get 3 and a remainder of 39.
Use 3 as the next digit of our solution. 
Result so far: 6734.93103
If we take 261 away from 300, we end up with 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.
Put 4 as the next digit of the answer. 
Result so far: 6734.931034
If we subtract 348 from 390, we 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.

On to step 13:
87 goes into 420 4 times with a remainder of 72.
Put 4 as the next digit of the answer. 
Result so far: 6734.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.

The final result is 6734.9310344 with a remainder of 7.2e-07.