We divide 39585 by 45
Let's see how many times 45 fits into 39585.

On to step 1:
When dividing 3 by 45, we get 0 with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 45

Advancing to step 2:
45 goes into 39 0 times with a remainder of 39.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 39 to get 39.
Bring next digit (5) of the dividend behind the 39 and repeat the process: 395 / 45

Advancing to step 3:
45 can be fit into 395 8 times, resulting in a remainder of 35.
Record the quotient 8 as the next digit in the result. 
Result so far: 8.0
Subtract 360 from 395 to get 35.
Take the next digit (8) from the dividend and append it to 35, then repeat: 358 / 45

Advancing to step 4:
358 divided by 45 is 7 with a remainder of 43.
Record the quotient 7 as the next digit in the result. 
Result so far: 87.0
If we subtract 315 from 358, we get 43.
Append the next digit (5) from the dividend to 43 and continue with: 435 / 45

Let's proceed to step 5:
435 divided by 45 is 9 with a remainder of 30.
Use 9 as the next digit of our solution. 
Result so far: 879.0
Subtracting 405 from 435 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 6:
300 divided by 45 is 6 with a remainder of 30.
Write down 6 as next digit of the result. 
Result so far: 879.6
Subtract 270 from 300 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 7:
When dividing 300 by 45, we get 6 with a remainder of 30.
The next digit of our result is 6. 
Result so far: 879.66
Deduct 270 from 300 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

The final result is 879.66 with a remainder of 0.03.