166667 divided by 9 
We want to figure out the number of times 166667 can be divided by 9.

Let's proceed to step 1:
The number 9 fits into 1 0 times, leaving a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Grab the next digit (6) from the dividend, add it to 1, then carry on: 16 / 9

Moving on to step 2:
9 can be fit into 16 1 times, resulting in a remainder of 7.
The next digit of our result is 1. 
Result so far: 1.0
Subtracting 9 from 16 leaves us with 7.
Bring next digit (6) of the dividend behind the 7 and repeat the process: 76 / 9

On to step 3:
If we divide 76 by 9, we get 8 and a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 18.0
If we take 72 away from 76, we end up with 4.
Include the next digit (6) from the dividend after 4, then repeat: 46 / 9

Step 4:
If we divide 46 by 9, we get 5 and a remainder of 1.
Write down 5 as next digit of the result. 
Result so far: 185.0
Subtracting 45 from 46 leaves us with 1.
Grab the next digit (6) from the dividend, add it to 1, then carry on: 16 / 9

Moving on to step 5:
16 divided by 9 is 1 with a remainder of 7.
Use 1 as the next digit of our solution. 
Result so far: 1851.0
If we take 9 away from 16, we end up with 7.
Bring next digit (7) of the dividend behind the 7 and repeat the process: 77 / 9

Step 6:
The number 9 fits into 77 8 times, leaving a remainder of 5.
Put 8 as the next digit of the answer. 
Result so far: 18518.0
Subtracting 72 from 77 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 7:
50 divided by 9 is 5 with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 18518.5
Subtracting 45 from 50 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 8:
If we divide 50 by 9, we get 5 and a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 18518.55
The remainder is 5 after subtracting 45 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Our division results in 18518.55 with a remaining 0.005.