We divide 334271 by 31
Our goal is to divide 334271 by 31.

Let's proceed to step 1:
When dividing 3 by 31, we get 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Grab the next digit (3) from the dividend, add it to 3, then carry on: 33 / 31

On to step 2:
31 can be fit into 33 1 times, resulting in a remainder of 2.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 31 from 33, we get 2.
Grab the next digit (4) from the dividend, add it to 2, then carry on: 24 / 31

Going ahead to step 3:
If we divide 24 by 31, we get 0 and a remainder of 24.
Put 0 as the next digit of the answer. 
Result so far: 10.0
If we take 0 away from 24, we end up with 24.
Take the next digit (2) from the dividend and append it to 24, then repeat: 242 / 31

On to step 4:
If we divide 242 by 31, we get 7 and a remainder of 25.
Write down 7 as next digit of the result. 
Result so far: 107.0
Subtracting 217 from 242 leaves us with 25.
Fetch the next digit (7) from the dividend, attach it to 25 and continue: 257 / 31

Let's proceed to step 5:
The number 31 fits into 257 8 times, leaving a remainder of 9.
The next digit of our result is 8. 
Result so far: 1078.0
Deduct 248 from 257 and we're left with 9.
Append the next digit (1) from the dividend to 9 and continue with: 91 / 31

Advancing to step 6:
The number 31 fits into 91 2 times, leaving a remainder of 29.
The number 2 becomes the next digit in our result. 
Result so far: 10782.0
The remainder is 29 after subtracting 62 from 91.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Step 7:
31 goes into 290 9 times with a remainder of 11.
Use 9 as the next digit of our solution. 
Result so far: 10782.9
If we subtract 279 from 290, we get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 8:
31 goes into 110 3 times with a remainder of 17.
Put 3 as the next digit of the answer. 
Result so far: 10782.93
Subtracting 93 from 110 leaves us with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Moving on to step 9:
When dividing 170 by 31, we get 5 with a remainder of 15.
Record the quotient 5 as the next digit in the result. 
Result so far: 10782.935
The remainder is 15 after subtracting 155 from 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

On to step 10:
The number 31 fits into 150 4 times, leaving a remainder of 26.
Put 4 as the next digit of the answer. 
Result so far: 10782.9354
Subtract 124 from 150 to get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Step 11:
31 can be fit into 260 8 times, resulting in a remainder of 12.
The number 8 becomes the next digit in our result. 
Result so far: 10782.93548
Subtracting 248 from 260 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 12:
When dividing 120 by 31, we get 3 with a remainder of 27.
Record the quotient 3 as the next digit in the result. 
Result so far: 10782.935483
Deduct 93 from 120 and we're left with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Let's proceed to step 13:
270 divided by 31 is 8 with a remainder of 22.
Write down 8 as next digit of the result. 
Result so far: 10782.9354838
If we subtract 248 from 270, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 14:
31 goes into 220 7 times with a remainder of 3.
Put 7 as the next digit of the answer. 
Result so far: 10782.93548387
Deduct 217 from 220 and we're left 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.

The final outcome is 10782.93548387, with a leftover of 3e-09.