Let's divide 170504 by 90
We want to divide 170504 by 90.

Advancing to step 1:
90 can be fit into 1 0 times, resulting in a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Fetch the next digit (7) from the dividend, attach it to 1 and continue: 17 / 90

Going ahead to step 2:
90 goes into 17 0 times with a remainder of 17.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 17, we get 17.
Take the next digit (0) from the dividend and append it to 17, then repeat: 170 / 90

Let's proceed to step 3:
170 divided by 90 is 1 with a remainder of 80.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 90 from 170, we get 80.
Bring next digit (5) of the dividend behind the 80 and repeat the process: 805 / 90

On to step 4:
90 goes into 805 8 times with a remainder of 85.
Record the quotient 8 as the next digit in the result. 
Result so far: 18.0
Deduct 720 from 805 and we're left with 85.
Bring next digit (0) of the dividend behind the 85 and repeat the process: 850 / 90

Advancing to step 5:
90 can be fit into 850 9 times, resulting in a remainder of 40.
Use 9 as the next digit of our solution. 
Result so far: 189.0
Deduct 810 from 850 and we're left with 40.
Take the next digit (4) from the dividend and append it to 40, then repeat: 404 / 90

Step 6:
90 goes into 404 4 times with a remainder of 44.
The next digit of our result is 4. 
Result so far: 1894.0
If we subtract 360 from 404, we get 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Moving on to step 7:
90 goes into 440 4 times with a remainder of 80.
The number 4 becomes the next digit in our result. 
Result so far: 1894.4
If we subtract 360 from 440, we get 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Step 8:
If we divide 800 by 90, we get 8 and a remainder of 80.
Put 8 as the next digit of the answer. 
Result so far: 1894.48
Deduct 720 from 800 and we're left with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Let's proceed to step 9:
90 can be fit into 800 8 times, resulting in a remainder of 80.
Write down 8 as next digit of the result. 
Result so far: 1894.488
If we subtract 720 from 800, we get 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

The final outcome is 1894.488, with a leftover of 0.008.