We look at the division of 585889 by 89 
Let's see how many times 89 fits into 585889.

Going ahead to step 1:
5 divided by 89 is 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 89

Advancing to step 2:
The number 89 fits into 58 0 times, leaving a remainder of 58.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 58 leaves us with 58.
Bring next digit (5) of the dividend behind the 58 and repeat the process: 585 / 89

Moving on to step 3:
89 can be fit into 585 6 times, resulting in a remainder of 51.
Put 6 as the next digit of the answer. 
Result so far: 6.0
The remainder is 51 after subtracting 534 from 585.
Fetch the next digit (8) from the dividend, attach it to 51 and continue: 518 / 89

Let's proceed to step 4:
The number 89 fits into 518 5 times, leaving a remainder of 73.
Write down 5 as next digit of the result. 
Result so far: 65.0
Subtract 445 from 518 to get 73.
Grab the next digit (8) from the dividend, add it to 73, then carry on: 738 / 89

Moving on to step 5:
If we divide 738 by 89, we get 8 and a remainder of 26.
Use 8 as the next digit of our solution. 
Result so far: 658.0
The remainder is 26 after subtracting 712 from 738.
Take the next digit (9) from the dividend and append it to 26, then repeat: 269 / 89

Going ahead to step 6:
If we divide 269 by 89, we get 3 and a remainder of 2.
Record the quotient 3 as the next digit in the result. 
Result so far: 6583.0
The remainder is 2 after subtracting 267 from 269.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 7:
If we divide 20 by 89, we get 0 and a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 6583.0
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 8:
When dividing 200 by 89, we get 2 with a remainder of 22.
Write down 2 as next digit of the result. 
Result so far: 6583.02
If we take 178 away from 200, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Moving on to step 9:
89 can be fit into 220 2 times, resulting in a remainder of 42.
The next digit of our result is 2. 
Result so far: 6583.022
If we subtract 178 from 220, 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.

Our division results in 6583.022 with a remaining 0.0042.