Let's divide 166498 by 90
We're looking to find how many times 90 goes into 166498.

On to step 1:
The number 90 fits into 1 0 times, leaving a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Fetch the next digit (6) from the dividend, attach it to 1 and continue: 16 / 90

Advancing to step 2:
If we divide 16 by 90, we get 0 and a remainder of 16.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 16 leaves us with 16.
Append the next digit (6) from the dividend to 16 and continue with: 166 / 90

On to step 3:
90 goes into 166 1 times with a remainder of 76.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 90 away from 166, we end up with 76.
Fetch the next digit (4) from the dividend, attach it to 76 and continue: 764 / 90

Moving on to step 4:
764 divided by 90 is 8 with a remainder of 44.
The next digit of our result is 8. 
Result so far: 18.0
Subtracting 720 from 764 leaves us with 44.
Append the next digit (9) from the dividend to 44 and continue with: 449 / 90

On to step 5:
90 can be fit into 449 4 times, resulting in a remainder of 89.
Put 4 as the next digit of the answer. 
Result so far: 184.0
Subtracting 360 from 449 leaves us with 89.
Include the next digit (8) from the dividend after 89, then repeat: 898 / 90

Step 6:
The number 90 fits into 898 9 times, leaving a remainder of 88.
The number 9 becomes the next digit in our result. 
Result so far: 1849.0
The remainder is 88 after subtracting 810 from 898.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

Let's proceed to step 7:
The number 90 fits into 880 9 times, leaving a remainder of 70.
The next digit of our result is 9. 
Result so far: 1849.9
Subtract 810 from 880 to get 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

On to step 8:
700 divided by 90 is 7 with a remainder of 70.
Use 7 as the next digit of our solution. 
Result so far: 1849.97
Deduct 630 from 700 and we're left with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Step 9:
90 can be fit into 700 7 times, resulting in a remainder of 70.
Put 7 as the next digit of the answer. 
Result so far: 1849.977
If we take 630 away from 700, we end up with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

The final outcome is 1849.977, with a leftover of 0.007.