We're dividing 642658 by 9 
Let's see how many times 9 fits into 642658.

Going ahead to step 1:
If we divide 6 by 9, we get 0 and a remainder of 6.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 6, we end up with 6.
Take the next digit (4) from the dividend and append it to 6, then repeat: 64 / 9

Step 2:
When dividing 64 by 9, we get 7 with a remainder of 1.
The number 7 becomes the next digit in our result. 
Result so far: 7.0
If we subtract 63 from 64, we get 1.
Include the next digit (2) from the dividend after 1, then repeat: 12 / 9

Going ahead to step 3:
9 can be fit into 12 1 times, resulting in a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 71.0
Subtract 9 from 12 to get 3.
Take the next digit (6) from the dividend and append it to 3, then repeat: 36 / 9

Advancing to step 4:
When dividing 36 by 9, we get 4 with a remainder of 0.
Use 4 as the next digit of our solution. 
Result so far: 714.0
The remainder is 0 after subtracting 36 from 36.
Grab the next digit (5) from the dividend, add it to 0, then carry on: 5 / 9

Moving on to step 5:
5 divided by 9 is 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 7140.0
Deduct 0 from 5 and we're left with 5.
Grab the next digit (8) from the dividend, add it to 5, then carry on: 58 / 9

Going ahead to step 6:
58 divided by 9 is 6 with a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 71406.0
If we subtract 54 from 58, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 7:
The number 9 fits into 40 4 times, leaving a remainder of 4.
The next digit of our result is 4. 
Result so far: 71406.4
If we subtract 36 from 40, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 8:
The number 9 fits into 40 4 times, leaving a remainder of 4.
The next digit of our result is 4. 
Result so far: 71406.44
If we subtract 36 from 40, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The quotient of the division is 71406.44, and the remainder is 0.004.