Let's divide 31172882 by 223
We want to divide 31172882 by 223.

On to step 1:
The number 223 fits into 3 0 times, leaving a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 223

Moving on to step 2:
223 goes into 31 0 times with a remainder of 31.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 31 after subtracting 0 from 31.
Fetch the next digit (1) from the dividend, attach it to 31 and continue: 311 / 223

Moving on to step 3:
When dividing 311 by 223, we get 1 with a remainder of 88.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtract 223 from 311 to get 88.
Include the next digit (7) from the dividend after 88, then repeat: 887 / 223

Advancing to step 4:
887 divided by 223 is 3 with a remainder of 218.
The number 3 becomes the next digit in our result. 
Result so far: 13.0
If we subtract 669 from 887, we get 218.
Take the next digit (2) from the dividend and append it to 218, then repeat: 2182 / 223

On to step 5:
2182 divided by 223 is 9 with a remainder of 175.
Record the quotient 9 as the next digit in the result. 
Result so far: 139.0
Deduct 2007 from 2182 and we're left with 175.
Fetch the next digit (8) from the dividend, attach it to 175 and continue: 1758 / 223

Step 6:
When dividing 1758 by 223, we get 7 with a remainder of 197.
Put 7 as the next digit of the answer. 
Result so far: 1397.0
If we subtract 1561 from 1758, we get 197.
Include the next digit (8) from the dividend after 197, then repeat: 1978 / 223

Going ahead to step 7:
1978 divided by 223 is 8 with a remainder of 194.
Write down 8 as next digit of the result. 
Result so far: 13978.0
Subtracting 1784 from 1978 leaves us with 194.
Bring next digit (2) of the dividend behind the 194 and repeat the process: 1942 / 223

Going ahead to step 8:
223 can be fit into 1942 8 times, resulting in a remainder of 158.
The next digit of our result is 8. 
Result so far: 139788.0
If we subtract 1784 from 1942, we get 158.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1580, and continue the process.

On to step 9:
223 goes into 1580 7 times with a remainder of 19.
Record the quotient 7 as the next digit in the result. 
Result so far: 139788.7
Subtract 1561 from 1580 to get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Let's proceed to step 10:
223 goes into 190 0 times with a remainder of 190.
Write down 0 as next digit of the result. 
Result so far: 139788.7
Deduct 0 from 190 and we're left with 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1900, and continue the process.

Let's proceed to step 11:
1900 divided by 223 is 8 with a remainder of 116.
The next digit of our result is 8. 
Result so far: 139788.708
Subtract 1784 from 1900 to get 116.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1160, and continue the process.

Step 12:
The number 223 fits into 1160 5 times, leaving a remainder of 45.
Put 5 as the next digit of the answer. 
Result so far: 139788.7085
If we take 1115 away from 1160, we end up with 45.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

Advancing to step 13:
If we divide 450 by 223, we get 2 and a remainder of 4.
The next digit of our result is 2. 
Result so far: 139788.70852
If we subtract 446 from 450, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 14:
The number 223 fits into 40 0 times, leaving a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 139788.70852
Subtracting 0 from 40 leaves us with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Going ahead to step 15:
400 divided by 223 is 1 with a remainder of 177.
The next digit of our result is 1. 
Result so far: 139788.7085201
The remainder is 177 after subtracting 223 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1770, and continue the process.

Advancing to step 16:
223 goes into 1770 7 times with a remainder of 209.
Use 7 as the next digit of our solution. 
Result so far: 139788.70852017
If we subtract 1561 from 1770, we get 209.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2090, and continue the process.

The final result is 139788.70852017 with a remainder of 2.09e-07.