We look at the division of 310117 by 34 
Let's see how many times 34 fits into 310117.

On to step 1:
When dividing 3 by 34, we get 0 with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 34

Going ahead to step 2:
If we divide 31 by 34, we get 0 and a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 31, we get 31.
Append the next digit (0) from the dividend to 31 and continue with: 310 / 34

Step 3:
34 goes into 310 9 times with a remainder of 4.
Put 9 as the next digit of the answer. 
Result so far: 9.0
The remainder is 4 after subtracting 306 from 310.
Bring next digit (1) of the dividend behind the 4 and repeat the process: 41 / 34

Going ahead to step 4:
The number 34 fits into 41 1 times, leaving a remainder of 7.
The number 1 becomes the next digit in our result. 
Result so far: 91.0
If we take 34 away from 41, we end up with 7.
Append the next digit (1) from the dividend to 7 and continue with: 71 / 34

Step 5:
The number 34 fits into 71 2 times, leaving a remainder of 3.
Put 2 as the next digit of the answer. 
Result so far: 912.0
The remainder is 3 after subtracting 68 from 71.
Bring next digit (7) of the dividend behind the 3 and repeat the process: 37 / 34

Advancing to step 6:
37 divided by 34 is 1 with a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 9121.0
If we subtract 34 from 37, 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.

On to step 7:
34 can be fit into 30 0 times, resulting in a remainder of 30.
Put 0 as the next digit of the answer. 
Result so far: 9121.0
Subtract 0 from 30 to 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 8:
If we divide 300 by 34, we get 8 and a remainder of 28.
The number 8 becomes the next digit in our result. 
Result so far: 9121.08
Subtracting 272 from 300 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Going ahead to step 9:
If we divide 280 by 34, we get 8 and a remainder of 8.
Put 8 as the next digit of the answer. 
Result so far: 9121.088
Subtract 272 from 280 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

After the division, we end up with 9121.088 and a remainder of 0.0008.