We're dividing 480391 by 40 
We're looking to find how many times 40 goes into 480391.

Going ahead to step 1:
40 goes into 4 0 times with a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Include the next digit (8) from the dividend after 4, then repeat: 48 / 40

Let's proceed to step 2:
40 goes into 48 1 times with a remainder of 8.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 40 from 48, we get 8.
Append the next digit (0) from the dividend to 8 and continue with: 80 / 40

On to step 3:
When dividing 80 by 40, we get 2 with a remainder of 0.
Record the quotient 2 as the next digit in the result. 
Result so far: 12.0
Deduct 80 from 80 and we're left with 0.
Fetch the next digit (3) from the dividend, attach it to 0 and continue: 3 / 40

On to step 4:
If we divide 3 by 40, we get 0 and a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 120.0
Deduct 0 from 3 and we're left with 3.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 40

Going ahead to step 5:
The number 40 fits into 39 0 times, leaving a remainder of 39.
Write down 0 as next digit of the result. 
Result so far: 1200.0
If we take 0 away from 39, we end up with 39.
Include the next digit (1) from the dividend after 39, then repeat: 391 / 40

Advancing to step 6:
If we divide 391 by 40, we get 9 and a remainder of 31.
Record the quotient 9 as the next digit in the result. 
Result so far: 12009.0
Deduct 360 from 391 and we're left with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Step 7:
If we divide 310 by 40, we get 7 and a remainder of 30.
Write down 7 as next digit of the result. 
Result so far: 12009.7
Deduct 280 from 310 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 8:
300 divided by 40 is 7 with a remainder of 20.
The number 7 becomes the next digit in our result. 
Result so far: 12009.77
The remainder is 20 after subtracting 280 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

The final outcome is 12009.77, with a leftover of 0.02.