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

On to step 1:
9 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
Deduct 0 from 5 and we're left with 5.
Include the next digit (8) from the dividend after 5, then repeat: 58 / 9

Advancing to step 2:
58 divided by 9 is 6 with a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 6.0
The remainder is 4 after subtracting 54 from 58.
Bring next digit (7) of the dividend behind the 4 and repeat the process: 47 / 9

Step 3:
The number 9 fits into 47 5 times, leaving a remainder of 2.
Use 5 as the next digit of our solution. 
Result so far: 65.0
Subtract 45 from 47 to get 2.
Include the next digit (8) from the dividend after 2, then repeat: 28 / 9

On to step 4:
9 can be fit into 28 3 times, resulting in a remainder of 1.
Write down 3 as next digit of the result. 
Result so far: 653.0
If we subtract 27 from 28, we get 1.
Fetch the next digit (6) from the dividend, attach it to 1 and continue: 16 / 9

On to step 5:
The number 9 fits into 16 1 times, leaving a remainder of 7.
The next digit of our result is 1. 
Result so far: 6531.0
Subtracting 9 from 16 leaves us with 7.
Take the next digit (8) from the dividend and append it to 7, then repeat: 78 / 9

Moving on to step 6:
If we divide 78 by 9, we get 8 and a remainder of 6.
Put 8 as the next digit of the answer. 
Result so far: 65318.0
If we subtract 72 from 78, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 7:
60 divided by 9 is 6 with a remainder of 6.
Put 6 as the next digit of the answer. 
Result so far: 65318.6
If we subtract 54 from 60, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 8:
If we divide 60 by 9, we get 6 and a remainder of 6.
Use 6 as the next digit of our solution. 
Result so far: 65318.66
The remainder is 6 after subtracting 54 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Our division results in 65318.66 with a remaining 0.006.