Let's divide 170407 by 45
Our goal is to divide 170407 by 45.

Advancing to step 1:
The number 45 fits into 1 0 times, leaving a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Append the next digit (7) from the dividend to 1 and continue with: 17 / 45

Moving on to step 2:
When dividing 17 by 45, we get 0 with a remainder of 17.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 17 after subtracting 0 from 17.
Bring next digit (0) of the dividend behind the 17 and repeat the process: 170 / 45

Step 3:
If we divide 170 by 45, we get 3 and a remainder of 35.
Put 3 as the next digit of the answer. 
Result so far: 3.0
If we subtract 135 from 170, we get 35.
Bring next digit (4) of the dividend behind the 35 and repeat the process: 354 / 45

Advancing to step 4:
354 divided by 45 is 7 with a remainder of 39.
The number 7 becomes the next digit in our result. 
Result so far: 37.0
If we subtract 315 from 354, we get 39.
Fetch the next digit (0) from the dividend, attach it to 39 and continue: 390 / 45

On to step 5:
When dividing 390 by 45, we get 8 with a remainder of 30.
Record the quotient 8 as the next digit in the result. 
Result so far: 378.0
The remainder is 30 after subtracting 360 from 390.
Include the next digit (7) from the dividend after 30, then repeat: 307 / 45

Advancing to step 6:
45 goes into 307 6 times with a remainder of 37.
Record the quotient 6 as the next digit in the result. 
Result so far: 3786.0
The remainder is 37 after subtracting 270 from 307.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

On to step 7:
370 divided by 45 is 8 with a remainder of 10.
Record the quotient 8 as the next digit in the result. 
Result so far: 3786.8
Subtract 360 from 370 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 8:
The number 45 fits into 100 2 times, leaving a remainder of 10.
The number 2 becomes the next digit in our result. 
Result so far: 3786.82
If we subtract 90 from 100, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 9:
If we divide 100 by 45, we get 2 and a remainder of 10.
The number 2 becomes the next digit in our result. 
Result so far: 3786.822
Deduct 90 from 100 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

After the division, we end up with 3786.822 and a remainder of 0.001.