Let's divide 408400 by 40
We want to divide 408400 by 40.

Let's proceed to step 1:
When dividing 4 by 40, we get 0 with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 40

Step 2:
When dividing 40 by 40, we get 1 with a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 40 from 40 leaves us with 0.
Append the next digit (8) from the dividend to 0 and continue with: 8 / 40

Moving on to step 3:
40 goes into 8 0 times with a remainder of 8.
The next digit of our result is 0. 
Result so far: 10.0
Deduct 0 from 8 and we're left with 8.
Append the next digit (4) from the dividend to 8 and continue with: 84 / 40

Moving on to step 4:
40 can be fit into 84 2 times, resulting in a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 102.0
If we subtract 80 from 84, we get 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 40

Let's proceed to step 5:
When dividing 40 by 40, we get 1 with a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 1021.0
Subtracting 40 from 40 leaves us with 0.
Grab the next digit (0) from the dividend, add it to 0, then carry on: 0 / 40

On to step 6:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 10210.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.

Advancing to step 7:
40 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 10210.0
Subtracting 0 from 0 leaves us 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.

Advancing to step 8:
If we divide 0 by 40, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 10210.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.

The final result is 10210.0 with a remainder of 0.0.