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

On to step 1:
When dividing 1 by 9, we get 0 with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Take the next digit (6) from the dividend and append it to 1, then repeat: 16 / 9

Moving on to step 2:
If we divide 16 by 9, we get 1 and a remainder of 7.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 9 from 16, we get 7.
Include the next digit (6) from the dividend after 7, then repeat: 76 / 9

On to step 3:
9 can be fit into 76 8 times, resulting in a remainder of 4.
The next digit of our result is 8. 
Result so far: 18.0
If we take 72 away from 76, we end up with 4.
Bring next digit (9) of the dividend behind the 4 and repeat the process: 49 / 9

On to step 4:
If we divide 49 by 9, we get 5 and a remainder of 4.
Record the quotient 5 as the next digit in the result. 
Result so far: 185.0
Subtract 45 from 49 to get 4.
Take the next digit (4) from the dividend and append it to 4, then repeat: 44 / 9

Going ahead to step 5:
9 goes into 44 4 times with a remainder of 8.
The next digit of our result is 4. 
Result so far: 1854.0
The remainder is 8 after subtracting 36 from 44.
Include the next digit (6) from the dividend after 8, then repeat: 86 / 9

Step 6:
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: 18549.0
If we take 81 away from 86, we end up 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:
When dividing 50 by 9, we get 5 with a remainder of 5.
The next digit of our result is 5. 
Result so far: 18549.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.

Going ahead to step 8:
9 can be fit into 50 5 times, resulting in a remainder of 5.
The next digit of our result is 5. 
Result so far: 18549.55
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.

After the division, we end up with 18549.55 and a remainder of 0.005.