Let's divide 394707 by 45
We want to divide 394707 by 45.

Step 1:
The number 45 fits into 3 0 times, leaving a remainder of 3.
The number 0 becomes the next digit in our 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

On 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
Deduct 0 from 39 and we're left with 39.
Bring next digit (4) of the dividend behind the 39 and repeat the process: 394 / 45

Step 3:
The number 45 fits into 394 8 times, leaving a remainder of 34.
The number 8 becomes the next digit in our result. 
Result so far: 8.0
Deduct 360 from 394 and we're left with 34.
Append the next digit (7) from the dividend to 34 and continue with: 347 / 45

Moving on to step 4:
The number 45 fits into 347 7 times, leaving a remainder of 32.
Write down 7 as next digit of the result. 
Result so far: 87.0
Subtract 315 from 347 to get 32.
Grab the next digit (0) from the dividend, add it to 32, then carry on: 320 / 45

Step 5:
The number 45 fits into 320 7 times, leaving a remainder of 5.
Write down 7 as next digit of the result. 
Result so far: 877.0
Subtracting 315 from 320 leaves us with 5.
Take the next digit (7) from the dividend and append it to 5, then repeat: 57 / 45

Going ahead to step 6:
If we divide 57 by 45, we get 1 and a remainder of 12.
The number 1 becomes the next digit in our result. 
Result so far: 8771.0
Subtracting 45 from 57 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 7:
If we divide 120 by 45, we get 2 and a remainder of 30.
Put 2 as the next digit of the answer. 
Result so far: 8771.2
Subtracting 90 from 120 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.

Advancing to step 8:
45 can be fit into 300 6 times, resulting in a remainder of 30.
Write down 6 as next digit of the result. 
Result so far: 8771.26
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.

Advancing to step 9:
If we divide 300 by 45, we get 6 and a remainder of 30.
The next digit of our result is 6. 
Result so far: 8771.266
Subtracting 270 from 300 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.

The final result is 8771.266 with a remainder of 0.003.