Let's divide 585102 by 9
Our goal is to divide 585102 by 9.

Step 1:
The number 9 fits into 5 0 times, leaving a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Bring next digit (8) of the dividend behind the 5 and repeat the process: 58 / 9

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.
Append the next digit (5) from the dividend to 4 and continue with: 45 / 9

On to step 3:
9 can be fit into 45 5 times, resulting in a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 65.0
Deduct 45 from 45 and we're left with 0.
Grab the next digit (1) from the dividend, add it to 0, then carry on: 1 / 9

Step 4:
The number 9 fits into 1 0 times, leaving a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 650.0
Subtract 0 from 1 to get 1.
Fetch the next digit (0) from the dividend, attach it to 1 and continue: 10 / 9

Going ahead to step 5:
9 can be fit into 10 1 times, resulting in a remainder of 1.
Record the quotient 1 as the next digit in the result. 
Result so far: 6501.0
Subtract 9 from 10 to get 1.
Include the next digit (2) from the dividend after 1, then repeat: 12 / 9

Step 6:
9 can be fit into 12 1 times, resulting in a remainder of 3.
The next digit of our result is 1. 
Result so far: 65011.0
The remainder is 3 after subtracting 9 from 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 7:
If we divide 30 by 9, we get 3 and a remainder of 3.
The next digit of our result is 3. 
Result so far: 65011.3
If we take 27 away from 30, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 8:
9 can be fit into 30 3 times, resulting in a remainder of 3.
Record the quotient 3 as the next digit in the result. 
Result so far: 65011.33
Subtracting 27 from 30 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

The quotient of the division is 65011.33, and the remainder is 0.003.