407984 ÷ 40 
Let's see how many times 40 fits into 407984.

Going ahead to step 1:
40 goes into 4 0 times with a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 40

Let's proceed to step 2:
40 goes into 40 1 times with a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtract 40 from 40 to get 0.
Append the next digit (7) from the dividend to 0 and continue with: 7 / 40

Let's proceed to step 3:
40 goes into 7 0 times with a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 10.0
Deduct 0 from 7 and we're left with 7.
Bring next digit (9) of the dividend behind the 7 and repeat the process: 79 / 40

Let's proceed to step 4:
If we divide 79 by 40, we get 1 and a remainder of 39.
Record the quotient 1 as the next digit in the result. 
Result so far: 101.0
Subtract 40 from 79 to get 39.
Grab the next digit (8) from the dividend, add it to 39, then carry on: 398 / 40

Advancing to step 5:
If we divide 398 by 40, we get 9 and a remainder of 38.
Write down 9 as next digit of the result. 
Result so far: 1019.0
The remainder is 38 after subtracting 360 from 398.
Append the next digit (4) from the dividend to 38 and continue with: 384 / 40

Advancing to step 6:
384 divided by 40 is 9 with a remainder of 24.
Use 9 as the next digit of our solution. 
Result so far: 10199.0
If we subtract 360 from 384, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 7:
If we divide 240 by 40, we get 6 and a remainder of 0.
Put 6 as the next digit of the answer. 
Result so far: 10199.6
Subtract 240 from 240 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 40, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 10199.6
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 9:
40 goes into 0 0 times with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 10199.6
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

In conclusion, the division gives 10199.6 with a balance of 0.0.