We divide 398520 by 45
We want to divide 398520 by 45.

Advancing to step 1:
45 goes into 3 0 times with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 45

Advancing to step 2:
When dividing 39 by 45, we get 0 with a remainder of 39.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 39 to get 39.
Include the next digit (8) from the dividend after 39, then repeat: 398 / 45

Step 3:
The number 45 fits into 398 8 times, leaving a remainder of 38.
Use 8 as the next digit of our solution. 
Result so far: 8.0
Deduct 360 from 398 and we're left with 38.
Append the next digit (5) from the dividend to 38 and continue with: 385 / 45

On to step 4:
45 goes into 385 8 times with a remainder of 25.
The next digit of our result is 8. 
Result so far: 88.0
The remainder is 25 after subtracting 360 from 385.
Grab the next digit (2) from the dividend, add it to 25, then carry on: 252 / 45

Let's proceed to step 5:
45 goes into 252 5 times with a remainder of 27.
Use 5 as the next digit of our solution. 
Result so far: 885.0
If we subtract 225 from 252, we get 27.
Take the next digit (0) from the dividend and append it to 27, then repeat: 270 / 45

Going ahead to step 6:
270 divided by 45 is 6 with a remainder of 0.
Put 6 as the next digit of the answer. 
Result so far: 8856.0
Subtract 270 from 270 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 7:
45 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 8856.0
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 8:
When dividing 0 by 45, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 8856.0
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 8856.0, and the remainder is 0.0.