We divide 40358 by 29
We want to divide 40358 by 29.

On to step 1:
When dividing 4 by 29, we get 0 with 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 / 29

On to step 2:
When dividing 40 by 29, we get 1 with a remainder of 11.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Deduct 29 from 40 and we're left with 11.
Append the next digit (3) from the dividend to 11 and continue with: 113 / 29

Moving on to step 3:
The number 29 fits into 113 3 times, leaving a remainder of 26.
Use 3 as the next digit of our solution. 
Result so far: 13.0
The remainder is 26 after subtracting 87 from 113.
Append the next digit (5) from the dividend to 26 and continue with: 265 / 29

Step 4:
If we divide 265 by 29, we get 9 and a remainder of 4.
The number 9 becomes the next digit in our result. 
Result so far: 139.0
Deduct 261 from 265 and we're left with 4.
Take the next digit (8) from the dividend and append it to 4, then repeat: 48 / 29

Moving on to step 5:
29 can be fit into 48 1 times, resulting in a remainder of 19.
The next digit of our result is 1. 
Result so far: 1391.0
Subtracting 29 from 48 leaves us with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Step 6:
29 goes into 190 6 times with a remainder of 16.
The next digit of our result is 6. 
Result so far: 1391.6
Deduct 174 from 190 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 7:
29 goes into 160 5 times with a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 1391.65
Subtract 145 from 160 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Moving on to step 8:
29 can be fit into 150 5 times, resulting in a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 1391.655
If we take 145 away from 150, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Our division results in 1391.655 with a remaining 0.0005.