Let's divide 935668 by 31
We want to figure out the number of times 935668 can be divided by 31.

On to step 1:
9 divided by 31 is 0 with a remainder of 9.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Bring next digit (3) of the dividend behind the 9 and repeat the process: 93 / 31

Step 2:
If we divide 93 by 31, we get 3 and a remainder of 0.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Deduct 93 from 93 and we're left with 0.
Fetch the next digit (5) from the dividend, attach it to 0 and continue: 5 / 31

Moving on to step 3:
31 goes into 5 0 times with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 30.0
The remainder is 5 after subtracting 0 from 5.
Take the next digit (6) from the dividend and append it to 5, then repeat: 56 / 31

Step 4:
The number 31 fits into 56 1 times, leaving a remainder of 25.
Write down 1 as next digit of the result. 
Result so far: 301.0
Subtracting 31 from 56 leaves us with 25.
Fetch the next digit (6) from the dividend, attach it to 25 and continue: 256 / 31

Step 5:
The number 31 fits into 256 8 times, leaving a remainder of 8.
Write down 8 as next digit of the result. 
Result so far: 3018.0
If we take 248 away from 256, we end up with 8.
Fetch the next digit (8) from the dividend, attach it to 8 and continue: 88 / 31

Moving on to step 6:
When dividing 88 by 31, we get 2 with a remainder of 26.
Put 2 as the next digit of the answer. 
Result so far: 30182.0
The remainder is 26 after subtracting 62 from 88.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Going ahead to step 7:
260 divided by 31 is 8 with a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 30182.8
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.

Advancing to step 8:
The number 31 fits into 120 3 times, leaving a remainder of 27.
Write down 3 as next digit of the result. 
Result so far: 30182.83
Subtracting 93 from 120 leaves us 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.

Advancing to step 9:
The number 31 fits into 270 8 times, leaving a remainder of 22.
Write down 8 as next digit of the result. 
Result so far: 30182.838
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.

Step 10:
The number 31 fits into 220 7 times, leaving a remainder of 3.
Put 7 as the next digit of the answer. 
Result so far: 30182.8387
If we subtract 217 from 220, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 11:
31 goes into 30 0 times with a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 30182.8387
If we subtract 0 from 30, we get 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 12:
31 goes into 300 9 times with a remainder of 21.
Put 9 as the next digit of the answer. 
Result so far: 30182.838709
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.

Advancing to step 13:
210 divided by 31 is 6 with a remainder of 24.
Put 6 as the next digit of the answer. 
Result so far: 30182.8387096
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.

Step 14:
31 can be fit into 240 7 times, resulting in a remainder of 23.
Use 7 as the next digit of our solution. 
Result so far: 30182.83870967
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.

The final result is 30182.83870967 with a remainder of 2.3e-08.