Let's divide 346917 by 31
We want to divide 346917 by 31.

Going ahead to step 1:
3 divided by 31 is 0 with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Include the next digit (4) from the dividend after 3, then repeat: 34 / 31

On to step 2:
When dividing 34 by 31, we get 1 with a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 31 away from 34, we end up with 3.
Take the next digit (6) from the dividend and append it to 3, then repeat: 36 / 31

Let's proceed to step 3:
36 divided by 31 is 1 with a remainder of 5.
Put 1 as the next digit of the answer. 
Result so far: 11.0
Deduct 31 from 36 and we're left with 5.
Grab the next digit (9) from the dividend, add it to 5, then carry on: 59 / 31

Moving on to step 4:
31 goes into 59 1 times with a remainder of 28.
The number 1 becomes the next digit in our result. 
Result so far: 111.0
Subtracting 31 from 59 leaves us with 28.
Bring next digit (1) of the dividend behind the 28 and repeat the process: 281 / 31

Going ahead to step 5:
31 goes into 281 9 times with a remainder of 2.
The next digit of our result is 9. 
Result so far: 1119.0
Subtracting 279 from 281 leaves us with 2.
Include the next digit (7) from the dividend after 2, then repeat: 27 / 31

Let's proceed to step 6:
The number 31 fits into 27 0 times, leaving a remainder of 27.
The number 0 becomes the next digit in our result. 
Result so far: 11190.0
If we subtract 0 from 27, we get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

On to step 7:
If we divide 270 by 31, we get 8 and a remainder of 22.
Write down 8 as next digit of the result. 
Result so far: 11190.8
Deduct 248 from 270 and we're left 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.

Going ahead to step 8:
When dividing 220 by 31, we get 7 with a remainder of 3.
The next digit of our result is 7. 
Result so far: 11190.87
If we take 217 away from 220, we end up 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.

Let's proceed to step 9:
When dividing 30 by 31, we get 0 with a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 11190.87
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.

On to step 10:
31 goes into 300 9 times with a remainder of 21.
Put 9 as the next digit of the answer. 
Result so far: 11190.8709
The remainder is 21 after subtracting 279 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Going ahead to step 11:
210 divided by 31 is 6 with a remainder of 24.
Use 6 as the next digit of our solution. 
Result so far: 11190.87096
Subtract 186 from 210 to get 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 12:
The number 31 fits into 240 7 times, leaving a remainder of 23.
The next digit of our result is 7. 
Result so far: 11190.870967
If we subtract 217 from 240, we get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Step 13:
When dividing 230 by 31, we get 7 with a remainder of 13.
Write down 7 as next digit of the result. 
Result so far: 11190.8709677
Deduct 217 from 230 and we're left with 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 11190.8709677 with a remainder of 1.3e-07.