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

On to step 1:
When dividing 3 by 45, we get 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 45

Let's proceed 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.
Take the next digit (9) from the dividend and append it to 39, then repeat: 399 / 45

Let's proceed to step 3:
45 goes into 399 8 times with a remainder of 39.
The number 8 becomes the next digit in our result. 
Result so far: 8.0
If we subtract 360 from 399, we get 39.
Include the next digit (9) from the dividend after 39, then repeat: 399 / 45

Moving on to step 4:
The number 45 fits into 399 8 times, leaving a remainder of 39.
Record the quotient 8 as the next digit in the result. 
Result so far: 88.0
The remainder is 39 after subtracting 360 from 399.
Fetch the next digit (7) from the dividend, attach it to 39 and continue: 397 / 45

Step 5:
If we divide 397 by 45, we get 8 and a remainder of 37.
Use 8 as the next digit of our solution. 
Result so far: 888.0
Subtract 360 from 397 to get 37.
Grab the next digit (0) from the dividend, add it to 37, then carry on: 370 / 45

Going ahead to step 6:
45 can be fit into 370 8 times, resulting in a remainder of 10.
The number 8 becomes the next digit in our result. 
Result so far: 8888.0
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.

Moving on to step 7:
100 divided by 45 is 2 with a remainder of 10.
Use 2 as the next digit of our solution. 
Result so far: 8888.2
The remainder is 10 after subtracting 90 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 8:
45 goes into 100 2 times with a remainder of 10.
Use 2 as the next digit of our solution. 
Result so far: 8888.22
If we take 90 away from 100, we end up 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.

The final outcome is 8888.22, with a leftover of 0.01.