166794 divided by 9 
Our goal is to divide 166794 by 9.

Let's proceed to step 1:
If we divide 1 by 9, we get 0 and a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Take the next digit (6) from the dividend and append it to 1, then repeat: 16 / 9

Step 2:
16 divided by 9 is 1 with a remainder of 7.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtracting 9 from 16 leaves us with 7.
Take the next digit (6) from the dividend and append it to 7, then repeat: 76 / 9

Moving on to step 3:
If we divide 76 by 9, we get 8 and a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 18.0
Subtracting 72 from 76 leaves us with 4.
Bring next digit (7) of the dividend behind the 4 and repeat the process: 47 / 9

Step 4:
If we divide 47 by 9, we get 5 and a remainder of 2.
The next digit of our result is 5. 
Result so far: 185.0
Subtracting 45 from 47 leaves us with 2.
Fetch the next digit (9) from the dividend, attach it to 2 and continue: 29 / 9

Let's proceed to step 5:
When dividing 29 by 9, we get 3 with a remainder of 2.
The number 3 becomes the next digit in our result. 
Result so far: 1853.0
Subtract 27 from 29 to get 2.
Append the next digit (4) from the dividend to 2 and continue with: 24 / 9

Let's proceed to step 6:
9 can be fit into 24 2 times, resulting in a remainder of 6.
The number 2 becomes the next digit in our result. 
Result so far: 18532.0
If we subtract 18 from 24, 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.

On to step 7:
The number 9 fits into 60 6 times, leaving a remainder of 6.
The number 6 becomes the next digit in our result. 
Result so far: 18532.6
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.

Advancing to step 8:
60 divided by 9 is 6 with a remainder of 6.
The next digit of our result is 6. 
Result so far: 18532.66
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.

The quotient of the division is 18532.66, and the remainder is 0.006.