We're dividing 804170 by 45 
Let's see how many times 45 fits into 804170.

Step 1:
8 divided by 45 is 0 with a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Fetch the next digit (0) from the dividend, attach it to 8 and continue: 80 / 45

Moving on to step 2:
45 goes into 80 1 times with a remainder of 35.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtract 45 from 80 to get 35.
Bring next digit (4) of the dividend behind the 35 and repeat the process: 354 / 45

Let's proceed to step 3:
If we divide 354 by 45, we get 7 and a remainder of 39.
The number 7 becomes the next digit in our result. 
Result so far: 17.0
Deduct 315 from 354 and we're left with 39.
Append the next digit (1) from the dividend to 39 and continue with: 391 / 45

Moving on to step 4:
When dividing 391 by 45, we get 8 with a remainder of 31.
Record the quotient 8 as the next digit in the result. 
Result so far: 178.0
Subtracting 360 from 391 leaves us with 31.
Take the next digit (7) from the dividend and append it to 31, then repeat: 317 / 45

Moving on to step 5:
317 divided by 45 is 7 with a remainder of 2.
The number 7 becomes the next digit in our result. 
Result so far: 1787.0
The remainder is 2 after subtracting 315 from 317.
Take the next digit (0) from the dividend and append it to 2, then repeat: 20 / 45

Advancing to step 6:
If we divide 20 by 45, we get 0 and a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 17870.0
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 7:
If we divide 200 by 45, we get 4 and a remainder of 20.
Write down 4 as next digit of the result. 
Result so far: 17870.4
If we take 180 away from 200, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 8:
45 can be fit into 200 4 times, resulting in a remainder of 20.
The next digit of our result is 4. 
Result so far: 17870.44
Subtracting 180 from 200 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Our division results in 17870.44 with a remaining 0.02.