Let's divide 587842 by 89
We want to figure out the number of times 587842 can be divided by 89.

Advancing to step 1:
89 goes into 5 0 times with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 89

On to step 2:
58 divided by 89 is 0 with a remainder of 58.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 58 leaves us with 58.
Fetch the next digit (7) from the dividend, attach it to 58 and continue: 587 / 89

On to step 3:
587 divided by 89 is 6 with a remainder of 53.
Put 6 as the next digit of the answer. 
Result so far: 6.0
The remainder is 53 after subtracting 534 from 587.
Append the next digit (8) from the dividend to 53 and continue with: 538 / 89

Going ahead to step 4:
538 divided by 89 is 6 with a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 66.0
Deduct 534 from 538 and we're left with 4.
Bring next digit (4) of the dividend behind the 4 and repeat the process: 44 / 89

Let's proceed to step 5:
When dividing 44 by 89, we get 0 with a remainder of 44.
Record the quotient 0 as the next digit in the result. 
Result so far: 660.0
Subtracting 0 from 44 leaves us with 44.
Grab the next digit (2) from the dividend, add it to 44, then carry on: 442 / 89

Let's proceed to step 6:
When dividing 442 by 89, we get 4 with a remainder of 86.
Put 4 as the next digit of the answer. 
Result so far: 6604.0
If we take 356 away from 442, 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.

Step 7:
If we divide 860 by 89, we get 9 and a remainder of 59.
The number 9 becomes the next digit in our result. 
Result so far: 6604.9
If we take 801 away from 860, we end up with 59.
Since there are no more digits in the dividend, we add a zero to the remainder making it 590, and continue the process.

Advancing to step 8:
590 divided by 89 is 6 with a remainder of 56.
Use 6 as the next digit of our solution. 
Result so far: 6604.96
If we subtract 534 from 590, we get 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Step 9:
If we divide 560 by 89, we get 6 and a remainder of 26.
Write down 6 as next digit of the result. 
Result so far: 6604.966
Subtracting 534 from 560 leaves us with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Our division results in 6604.966 with a remaining 0.0026.