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

On to step 1:
If we divide 3 by 31, we get 0 and a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Include the next digit (4) from the dividend after 3, then repeat: 34 / 31

Step 2:
34 divided by 31 is 1 with a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 31 from 34 and we're left with 3.
Grab the next digit (6) from the dividend, add it to 3, then carry on: 36 / 31

Advancing to step 3:
The number 31 fits into 36 1 times, leaving a remainder of 5.
The number 1 becomes the next digit in our result. 
Result so far: 11.0
If we take 31 away from 36, we end up with 5.
Bring next digit (6) of the dividend behind the 5 and repeat the process: 56 / 31

Advancing to step 4:
56 divided by 31 is 1 with a remainder of 25.
Put 1 as the next digit of the answer. 
Result so far: 111.0
Deduct 31 from 56 and we're left with 25.
Take the next digit (5) from the dividend and append it to 25, then repeat: 255 / 31

Let's proceed to step 5:
31 goes into 255 8 times with a remainder of 7.
Put 8 as the next digit of the answer. 
Result so far: 1118.0
The remainder is 7 after subtracting 248 from 255.
Append the next digit (7) from the dividend to 7 and continue with: 77 / 31

Going ahead to step 6:
The number 31 fits into 77 2 times, leaving a remainder of 15.
The number 2 becomes the next digit in our result. 
Result so far: 11182.0
Subtracting 62 from 77 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 7:
150 divided by 31 is 4 with a remainder of 26.
The number 4 becomes the next digit in our result. 
Result so far: 11182.4
Subtracting 124 from 150 leaves us with 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 8:
When dividing 260 by 31, we get 8 with a remainder of 12.
The next digit of our result is 8. 
Result so far: 11182.48
Subtract 248 from 260 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 9:
The number 31 fits into 120 3 times, leaving a remainder of 27.
Record the quotient 3 as the next digit in the result. 
Result so far: 11182.483
If we subtract 93 from 120, 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.

Going ahead to step 10:
31 goes into 270 8 times with a remainder of 22.
Put 8 as the next digit of the answer. 
Result so far: 11182.4838
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 11:
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: 11182.48387
The remainder is 3 after subtracting 217 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 12:
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: 11182.48387
Subtracting 0 from 30 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 13:
31 goes into 300 9 times with a remainder of 21.
The number 9 becomes the next digit in our result. 
Result so far: 11182.4838709
Subtracting 279 from 300 leaves us 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.

Going ahead to step 14:
If we divide 210 by 31, we get 6 and a remainder of 24.
Use 6 as the next digit of our solution. 
Result so far: 11182.48387096
The remainder is 24 after subtracting 186 from 210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

The final outcome is 11182.48387096, with a leftover of 2.4e-08.