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

Let's proceed to step 1:
If we divide 9 by 317, we get 0 and a remainder of 9.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 9 after subtracting 0 from 9.
Take the next digit (9) from the dividend and append it to 9, then repeat: 99 / 317

Advancing to step 2:
317 goes into 99 0 times with a remainder of 99.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 99 and we're left with 99.
Take the next digit (1) from the dividend and append it to 99, then repeat: 991 / 317

Step 3:
If we divide 991 by 317, we get 3 and a remainder of 40.
The next digit of our result is 3. 
Result so far: 3.0
The remainder is 40 after subtracting 951 from 991.
Take the next digit (3) from the dividend and append it to 40, then repeat: 403 / 317

Moving on to step 4:
The number 317 fits into 403 1 times, leaving a remainder of 86.
Write down 1 as next digit of the result. 
Result so far: 31.0
Deduct 317 from 403 and we're left with 86.
Grab the next digit (8) from the dividend, add it to 86, then carry on: 868 / 317

On to step 5:
317 can be fit into 868 2 times, resulting in a remainder of 234.
Put 2 as the next digit of the answer. 
Result so far: 312.0
Subtract 634 from 868 to get 234.
Grab the next digit (1) from the dividend, add it to 234, then carry on: 2341 / 317

On to step 6:
When dividing 2341 by 317, we get 7 with a remainder of 122.
Use 7 as the next digit of our solution. 
Result so far: 3127.0
If we subtract 2219 from 2341, we get 122.
Append the next digit (1) from the dividend to 122 and continue with: 1221 / 317

Advancing to step 7:
If we divide 1221 by 317, we get 3 and a remainder of 270.
The number 3 becomes the next digit in our result. 
Result so far: 31273.0
If we take 951 away from 1221, we end up with 270.
Include the next digit (7) from the dividend after 270, then repeat: 2707 / 317

Going ahead to step 8:
2707 divided by 317 is 8 with a remainder of 171.
Record the quotient 8 as the next digit in the result. 
Result so far: 312738.0
The remainder is 171 after subtracting 2536 from 2707.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1710, and continue the process.

Step 9:
If we divide 1710 by 317, we get 5 and a remainder of 125.
Put 5 as the next digit of the answer. 
Result so far: 312738.5
If we take 1585 away from 1710, we end up with 125.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1250, and continue the process.

Going ahead to step 10:
317 can be fit into 1250 3 times, resulting in a remainder of 299.
Write down 3 as next digit of the result. 
Result so far: 312738.53
Deduct 951 from 1250 and we're left with 299.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2990, and continue the process.

Advancing to step 11:
317 can be fit into 2990 9 times, resulting in a remainder of 137.
The next digit of our result is 9. 
Result so far: 312738.539
Subtracting 2853 from 2990 leaves us with 137.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1370, and continue the process.

Let's proceed to step 12:
317 goes into 1370 4 times with a remainder of 102.
Put 4 as the next digit of the answer. 
Result so far: 312738.5394
If we take 1268 away from 1370, we end up with 102.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1020, and continue the process.

Step 13:
317 goes into 1020 3 times with a remainder of 69.
Use 3 as the next digit of our solution. 
Result so far: 312738.53943
The remainder is 69 after subtracting 951 from 1020.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

Advancing to step 14:
The number 317 fits into 690 2 times, leaving a remainder of 56.
Put 2 as the next digit of the answer. 
Result so far: 312738.539432
Subtract 634 from 690 to get 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

On to step 15:
317 goes into 560 1 times with a remainder of 243.
Use 1 as the next digit of our solution. 
Result so far: 312738.5394321
If we take 317 away from 560, we end up with 243.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2430, and continue the process.

Step 16:
317 can be fit into 2430 7 times, resulting in a remainder of 211.
The next digit of our result is 7. 
Result so far: 312738.53943217
Subtracting 2219 from 2430 leaves us with 211.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2110, and continue the process.

The final result is 312738.53943217 with a remainder of 2.11e-07.