266374 divided by 31 
We want to divide 266374 by 31.

Advancing to step 1:
2 divided by 31 is 0 with a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 2 leaves us with 2.
Fetch the next digit (6) from the dividend, attach it to 2 and continue: 26 / 31

Moving on to step 2:
If we divide 26 by 31, we get 0 and a remainder of 26.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 26 to get 26.
Fetch the next digit (6) from the dividend, attach it to 26 and continue: 266 / 31

Going ahead to step 3:
31 can be fit into 266 8 times, resulting in a remainder of 18.
Write down 8 as next digit of the result. 
Result so far: 8.0
The remainder is 18 after subtracting 248 from 266.
Append the next digit (3) from the dividend to 18 and continue with: 183 / 31

Let's proceed to step 4:
When dividing 183 by 31, we get 5 with a remainder of 28.
Write down 5 as next digit of the result. 
Result so far: 85.0
Subtracting 155 from 183 leaves us with 28.
Append the next digit (7) from the dividend to 28 and continue with: 287 / 31

Advancing to step 5:
When dividing 287 by 31, we get 9 with a remainder of 8.
Put 9 as the next digit of the answer. 
Result so far: 859.0
If we subtract 279 from 287, we get 8.
Include the next digit (4) from the dividend after 8, then repeat: 84 / 31

Step 6:
The number 31 fits into 84 2 times, leaving a remainder of 22.
The next digit of our result is 2. 
Result so far: 8592.0
If we take 62 away from 84, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Moving on to step 7:
If we divide 220 by 31, we get 7 and a remainder of 3.
Record the quotient 7 as the next digit in the result. 
Result so far: 8592.7
Subtracting 217 from 220 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 8:
30 divided by 31 is 0 with a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 8592.7
The remainder is 30 after subtracting 0 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 9:
31 goes into 300 9 times with a remainder of 21.
Use 9 as the next digit of our solution. 
Result so far: 8592.709
Deduct 279 from 300 and we're left with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Moving on to step 10:
31 goes into 210 6 times with a remainder of 24.
Use 6 as the next digit of our solution. 
Result so far: 8592.7096
Deduct 186 from 210 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 11:
31 goes into 240 7 times with a remainder of 23.
Use 7 as the next digit of our solution. 
Result so far: 8592.70967
If we take 217 away from 240, we end up with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Advancing to step 12:
31 goes into 230 7 times with a remainder of 13.
Write down 7 as next digit of the result. 
Result so far: 8592.709677
If we subtract 217 from 230, we get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

The final result is 8592.709677 with a remainder of 1.3e-06.