We're dividing 400978 by 2 
Let's see how many times 2 fits into 400978.

Moving on to step 1:
The number 2 fits into 4 2 times, leaving a remainder of 0.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we take 4 away from 4, we end up with 0.
Include the next digit (0) from the dividend after 0, then repeat: 0 / 2

On to step 2:
2 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 20.0
The remainder is 0 after subtracting 0 from 0.
Include the next digit (0) from the dividend after 0, then repeat: 0 / 2

Going ahead to step 3:
0 divided by 2 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 200.0
Subtract 0 from 0 to get 0.
Fetch the next digit (9) from the dividend, attach it to 0 and continue: 9 / 2

Moving on to step 4:
2 goes into 9 4 times with a remainder of 1.
Record the quotient 4 as the next digit in the result. 
Result so far: 2004.0
Deduct 8 from 9 and we're left with 1.
Grab the next digit (7) from the dividend, add it to 1, then carry on: 17 / 2

Advancing to step 5:
When dividing 17 by 2, we get 8 with a remainder of 1.
The number 8 becomes the next digit in our result. 
Result so far: 20048.0
The remainder is 1 after subtracting 16 from 17.
Append the next digit (8) from the dividend to 1 and continue with: 18 / 2

Advancing to step 6:
2 can be fit into 18 9 times, resulting in a remainder of 0.
Record the quotient 9 as the next digit in the result. 
Result so far: 200489.0
If we take 18 away from 18, 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.

Advancing to step 7:
When dividing 0 by 2, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 200489.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.

Going ahead to step 8:
If we divide 0 by 2, we get 0 and a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 200489.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.

The final result is 200489.0 with a remainder of 0.0.