We look at the division of 865104 by 9 
Our goal is to divide 865104 by 9.

Step 1:
If we divide 8 by 9, we get 0 and a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Append the next digit (6) from the dividend to 8 and continue with: 86 / 9

Step 2:
If we divide 86 by 9, we get 9 and a remainder of 5.
Write down 9 as next digit of the result. 
Result so far: 9.0
The remainder is 5 after subtracting 81 from 86.
Bring next digit (5) of the dividend behind the 5 and repeat the process: 55 / 9

Step 3:
55 divided by 9 is 6 with a remainder of 1.
Write down 6 as next digit of the result. 
Result so far: 96.0
If we take 54 away from 55, we end up with 1.
Include the next digit (1) from the dividend after 1, then repeat: 11 / 9

Step 4:
11 divided by 9 is 1 with a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 961.0
If we subtract 9 from 11, we get 2.
Append the next digit (0) from the dividend to 2 and continue with: 20 / 9

Advancing to step 5:
9 goes into 20 2 times with a remainder of 2.
Use 2 as the next digit of our solution. 
Result so far: 9612.0
Subtracting 18 from 20 leaves us with 2.
Include the next digit (4) from the dividend after 2, then repeat: 24 / 9

Step 6:
When dividing 24 by 9, we get 2 with a remainder of 6.
Put 2 as the next digit of the answer. 
Result so far: 96122.0
The remainder is 6 after subtracting 18 from 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 7:
9 can be fit into 60 6 times, resulting in a remainder of 6.
Put 6 as the next digit of the answer. 
Result so far: 96122.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.

Advancing to step 8:
When dividing 60 by 9, we get 6 with a remainder of 6.
The number 6 becomes the next digit in our result. 
Result so far: 96122.66
If we take 54 away from 60, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

After the division, we end up with 96122.66 and a remainder of 0.006.