We're dividing 3097211 by 317 
We want to divide 3097211 by 317.

On to step 1:
317 can be fit into 3 0 times, resulting in a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Take the next digit (0) from the dividend and append it to 3, then repeat: 30 / 317

Advancing to step 2:
317 can be fit into 30 0 times, resulting in a remainder of 30.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 30 after subtracting 0 from 30.
Append the next digit (9) from the dividend to 30 and continue with: 309 / 317

Moving on to step 3:
309 divided by 317 is 0 with a remainder of 309.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 309 to get 309.
Append the next digit (7) from the dividend to 309 and continue with: 3097 / 317

Going ahead to step 4:
The number 317 fits into 3097 9 times, leaving a remainder of 244.
Record the quotient 9 as the next digit in the result. 
Result so far: 9.0
If we subtract 2853 from 3097, we get 244.
Fetch the next digit (2) from the dividend, attach it to 244 and continue: 2442 / 317

Step 5:
317 goes into 2442 7 times with a remainder of 223.
The number 7 becomes the next digit in our result. 
Result so far: 97.0
Subtract 2219 from 2442 to get 223.
Take the next digit (1) from the dividend and append it to 223, then repeat: 2231 / 317

Step 6:
317 goes into 2231 7 times with a remainder of 12.
The next digit of our result is 7. 
Result so far: 977.0
If we subtract 2219 from 2231, we get 12.
Grab the next digit (1) from the dividend, add it to 12, then carry on: 121 / 317

Going ahead to step 7:
If we divide 121 by 317, we get 0 and a remainder of 121.
Record the quotient 0 as the next digit in the result. 
Result so far: 9770.0
The remainder is 121 after subtracting 0 from 121.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1210, and continue the process.

Moving on to step 8:
317 goes into 1210 3 times with a remainder of 259.
Use 3 as the next digit of our solution. 
Result so far: 9770.3
If we take 951 away from 1210, we end up with 259.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2590, and continue the process.

Going ahead to step 9:
2590 divided by 317 is 8 with a remainder of 54.
Use 8 as the next digit of our solution. 
Result so far: 9770.38
Subtracting 2536 from 2590 leaves us with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Let's proceed to step 10:
The number 317 fits into 540 1 times, leaving a remainder of 223.
Use 1 as the next digit of our solution. 
Result so far: 9770.381
Subtracting 317 from 540 leaves us with 223.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2230, and continue the process.

Let's proceed to step 11:
317 goes into 2230 7 times with a remainder of 11.
The next digit of our result is 7. 
Result so far: 9770.3817
Subtract 2219 from 2230 to 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.

Let's proceed to step 12:
110 divided by 317 is 0 with a remainder of 110.
Record the quotient 0 as the next digit in the result. 
Result so far: 9770.3817
Subtracting 0 from 110 leaves us with 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1100, and continue the process.

Moving on to step 13:
The number 317 fits into 1100 3 times, leaving a remainder of 149.
Record the quotient 3 as the next digit in the result. 
Result so far: 9770.381703
Deduct 951 from 1100 and we're left with 149.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1490, and continue the process.

Going ahead to step 14:
The number 317 fits into 1490 4 times, leaving a remainder of 222.
Use 4 as the next digit of our solution. 
Result so far: 9770.3817034
Deduct 1268 from 1490 and we're left with 222.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2220, and continue the process.

Going ahead to step 15:
The number 317 fits into 2220 7 times, leaving a remainder of 1.
The next digit of our result is 7. 
Result so far: 9770.38170347
Deduct 2219 from 2220 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

In conclusion, the division gives 9770.38170347 with a balance of 1e-09.