Let's divide 31687452 by 866
We're looking to find how many times 866 goes into 31687452.

Step 1:
866 goes into 3 0 times with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 866

Advancing to step 2:
866 goes into 31 0 times with a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Include the next digit (6) from the dividend after 31, then repeat: 316 / 866

On to step 3:
316 divided by 866 is 0 with a remainder of 316.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 316 after subtracting 0 from 316.
Grab the next digit (8) from the dividend, add it to 316, then carry on: 3168 / 866

On to step 4:
866 goes into 3168 3 times with a remainder of 570.
Use 3 as the next digit of our solution. 
Result so far: 3.0
Subtracting 2598 from 3168 leaves us with 570.
Take the next digit (7) from the dividend and append it to 570, then repeat: 5707 / 866

Let's proceed to step 5:
866 goes into 5707 6 times with a remainder of 511.
Put 6 as the next digit of the answer. 
Result so far: 36.0
Deduct 5196 from 5707 and we're left with 511.
Include the next digit (4) from the dividend after 511, then repeat: 5114 / 866

Advancing to step 6:
The number 866 fits into 5114 5 times, leaving a remainder of 784.
Put 5 as the next digit of the answer. 
Result so far: 365.0
The remainder is 784 after subtracting 4330 from 5114.
Append the next digit (5) from the dividend to 784 and continue with: 7845 / 866

Step 7:
When dividing 7845 by 866, we get 9 with a remainder of 51.
Use 9 as the next digit of our solution. 
Result so far: 3659.0
Subtract 7794 from 7845 to get 51.
Take the next digit (2) from the dividend and append it to 51, then repeat: 512 / 866

Advancing to step 8:
866 goes into 512 0 times with a remainder of 512.
Use 0 as the next digit of our solution. 
Result so far: 36590.0
Deduct 0 from 512 and we're left with 512.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5120, and continue the process.

On to step 9:
The number 866 fits into 5120 5 times, leaving a remainder of 790.
Use 5 as the next digit of our solution. 
Result so far: 36590.5
Deduct 4330 from 5120 and we're left with 790.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7900, and continue the process.

Let's proceed to step 10:
When dividing 7900 by 866, we get 9 with a remainder of 106.
The next digit of our result is 9. 
Result so far: 36590.59
Subtract 7794 from 7900 to get 106.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1060, and continue the process.

Let's proceed to step 11:
866 goes into 1060 1 times with a remainder of 194.
Put 1 as the next digit of the answer. 
Result so far: 36590.591
If we subtract 866 from 1060, we get 194.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1940, and continue the process.

Advancing to step 12:
If we divide 1940 by 866, we get 2 and a remainder of 208.
The number 2 becomes the next digit in our result. 
Result so far: 36590.5912
Deduct 1732 from 1940 and we're left with 208.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2080, and continue the process.

Step 13:
The number 866 fits into 2080 2 times, leaving a remainder of 348.
Record the quotient 2 as the next digit in the result. 
Result so far: 36590.59122
If we take 1732 away from 2080, we end up with 348.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3480, and continue the process.

Our division results in 36590.59122 with a remaining 0.000348.