We look at the division of 40400258 by 10 
We're looking to find how many times 10 goes into 40400258.

Advancing to step 1:
The number 10 fits into 4 0 times, leaving a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 10

Step 2:
If we divide 40 by 10, we get 4 and a remainder of 0.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
Subtracting 40 from 40 leaves us with 0.
Fetch the next digit (4) from the dividend, attach it to 0 and continue: 4 / 10

Step 3:
The number 10 fits into 4 0 times, leaving a remainder of 4.
The next digit of our result is 0. 
Result so far: 40.0
Subtract 0 from 4 to get 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 10

Let's proceed to step 4:
10 goes into 40 4 times with a remainder of 0.
Write down 4 as next digit of the result. 
Result so far: 404.0
Subtract 40 from 40 to get 0.
Include the next digit (0) from the dividend after 0, then repeat: 0 / 10

Let's proceed to step 5:
The number 10 fits into 0 0 times, leaving a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 4040.0
Deduct 0 from 0 and we're left with 0.
Take the next digit (2) from the dividend and append it to 0, then repeat: 2 / 10

Moving on to step 6:
10 goes into 2 0 times with a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 40400.0
If we take 0 away from 2, we end up with 2.
Grab the next digit (5) from the dividend, add it to 2, then carry on: 25 / 10

Step 7:
10 goes into 25 2 times with a remainder of 5.
Use 2 as the next digit of our solution. 
Result so far: 404002.0
Subtracting 20 from 25 leaves us with 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 10

Going ahead to step 8:
10 goes into 58 5 times with a remainder of 8.
Record the quotient 5 as the next digit in the result. 
Result so far: 4040025.0
If we subtract 50 from 58, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 9:
10 goes into 80 8 times with a remainder of 0.
The next digit of our result is 8. 
Result so far: 4040025.8
If we take 80 away from 80, 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.

On to step 10:
0 divided by 10 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 4040025.8
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 11:
10 can be fit into 0 0 times, resulting in a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 4040025.8
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.

Our division results in 4040025.8 with a remaining 0.0.