We're dividing 58985 by 87 
We're looking to find how many times 87 goes into 58985.

Step 1:
87 can be fit into 5 0 times, resulting in a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Fetch the next digit (8) from the dividend, attach it to 5 and continue: 58 / 87

Let's proceed to step 2:
The number 87 fits into 58 0 times, leaving a remainder of 58.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 58 and we're left with 58.
Include the next digit (9) from the dividend after 58, then repeat: 589 / 87

Advancing to step 3:
589 divided by 87 is 6 with a remainder of 67.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
If we subtract 522 from 589, we get 67.
Bring next digit (8) of the dividend behind the 67 and repeat the process: 678 / 87

Moving on to step 4:
87 can be fit into 678 7 times, resulting in a remainder of 69.
Use 7 as the next digit of our solution. 
Result so far: 67.0
Subtracting 609 from 678 leaves us with 69.
Append the next digit (5) from the dividend to 69 and continue with: 695 / 87

Let's proceed to step 5:
695 divided by 87 is 7 with a remainder of 86.
Record the quotient 7 as the next digit in the result. 
Result so far: 677.0
If we take 609 away from 695, we end up with 86.
Since there are no more digits in the dividend, we add a zero to the remainder making it 860, and continue the process.

Let's proceed to step 6:
860 divided by 87 is 9 with a remainder of 77.
Use 9 as the next digit of our solution. 
Result so far: 677.9
Subtract 783 from 860 to get 77.
Since there are no more digits in the dividend, we add a zero to the remainder making it 770, and continue the process.

Moving on to step 7:
87 can be fit into 770 8 times, resulting in a remainder of 74.
Write down 8 as next digit of the result. 
Result so far: 677.98
If we subtract 696 from 770, we get 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Step 8:
If we divide 740 by 87, we get 8 and a remainder of 44.
The number 8 becomes the next digit in our result. 
Result so far: 677.988
If we take 696 away from 740, we end up with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

The final outcome is 677.988, with a leftover of 0.0044.