We're dividing 40082862 by 223 
We want to divide 40082862 by 223.

On to step 1:
When dividing 4 by 223, we get 0 with a remainder of 4.
The next digit of our result is 0. 
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 / 223

Step 2:
223 goes into 40 0 times with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Append the next digit (0) from the dividend to 40 and continue with: 400 / 223

Advancing to step 3:
400 divided by 223 is 1 with a remainder of 177.
The next digit of our result is 1. 
Result so far: 1.0
Subtracting 223 from 400 leaves us with 177.
Fetch the next digit (8) from the dividend, attach it to 177 and continue: 1778 / 223

On to step 4:
If we divide 1778 by 223, we get 7 and a remainder of 217.
The number 7 becomes the next digit in our result. 
Result so far: 17.0
Subtract 1561 from 1778 to get 217.
Fetch the next digit (2) from the dividend, attach it to 217 and continue: 2172 / 223

On to step 5:
2172 divided by 223 is 9 with a remainder of 165.
Record the quotient 9 as the next digit in the result. 
Result so far: 179.0
If we take 2007 away from 2172, we end up with 165.
Append the next digit (8) from the dividend to 165 and continue with: 1658 / 223

Step 6:
If we divide 1658 by 223, we get 7 and a remainder of 97.
The next digit of our result is 7. 
Result so far: 1797.0
If we take 1561 away from 1658, we end up with 97.
Take the next digit (6) from the dividend and append it to 97, then repeat: 976 / 223

On to step 7:
223 can be fit into 976 4 times, resulting in a remainder of 84.
The number 4 becomes the next digit in our result. 
Result so far: 17974.0
If we take 892 away from 976, we end up with 84.
Fetch the next digit (2) from the dividend, attach it to 84 and continue: 842 / 223

Going ahead to step 8:
The number 223 fits into 842 3 times, leaving a remainder of 173.
Record the quotient 3 as the next digit in the result. 
Result so far: 179743.0
If we subtract 669 from 842, we get 173.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1730, and continue the process.

Advancing to step 9:
If we divide 1730 by 223, we get 7 and a remainder of 169.
The next digit of our result is 7. 
Result so far: 179743.7
If we subtract 1561 from 1730, we get 169.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1690, and continue the process.

On to step 10:
When dividing 1690 by 223, we get 7 with a remainder of 129.
The number 7 becomes the next digit in our result. 
Result so far: 179743.77
Subtracting 1561 from 1690 leaves us with 129.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1290, and continue the process.

The final outcome is 179743.77, with a leftover of 0.129.