We're dividing 31878976 by 307 
We want to divide 31878976 by 307.

On to step 1:
When dividing 3 by 307, we get 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 307

Let's proceed to step 2:
When dividing 31 by 307, we get 0 with a remainder of 31.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 31 after subtracting 0 from 31.
Append the next digit (8) from the dividend to 31 and continue with: 318 / 307

On to step 3:
318 divided by 307 is 1 with a remainder of 11.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 11 after subtracting 307 from 318.
Fetch the next digit (7) from the dividend, attach it to 11 and continue: 117 / 307

Moving on to step 4:
307 goes into 117 0 times with a remainder of 117.
Write down 0 as next digit of the result. 
Result so far: 10.0
Subtract 0 from 117 to get 117.
Include the next digit (8) from the dividend after 117, then repeat: 1178 / 307

Moving on to step 5:
307 can be fit into 1178 3 times, resulting in a remainder of 257.
Write down 3 as next digit of the result. 
Result so far: 103.0
If we take 921 away from 1178, we end up with 257.
Grab the next digit (9) from the dividend, add it to 257, then carry on: 2579 / 307

Advancing to step 6:
If we divide 2579 by 307, we get 8 and a remainder of 123.
Use 8 as the next digit of our solution. 
Result so far: 1038.0
Subtracting 2456 from 2579 leaves us with 123.
Append the next digit (7) from the dividend to 123 and continue with: 1237 / 307

Let's proceed to step 7:
If we divide 1237 by 307, we get 4 and a remainder of 9.
Use 4 as the next digit of our solution. 
Result so far: 10384.0
If we subtract 1228 from 1237, we get 9.
Append the next digit (6) from the dividend to 9 and continue with: 96 / 307

Moving on to step 8:
The number 307 fits into 96 0 times, leaving a remainder of 96.
The next digit of our result is 0. 
Result so far: 103840.0
Subtract 0 from 96 to get 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Going ahead to step 9:
When dividing 960 by 307, we get 3 with a remainder of 39.
The next digit of our result is 3. 
Result so far: 103840.3
Subtracting 921 from 960 leaves us with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Advancing to step 10:
307 can be fit into 390 1 times, resulting in a remainder of 83.
Put 1 as the next digit of the answer. 
Result so far: 103840.31
If we subtract 307 from 390, we get 83.
Since there are no more digits in the dividend, we add a zero to the remainder making it 830, and continue the process.

On to step 11:
If we divide 830 by 307, we get 2 and a remainder of 216.
The next digit of our result is 2. 
Result so far: 103840.312
If we take 614 away from 830, we end up with 216.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2160, and continue the process.

Moving on to step 12:
2160 divided by 307 is 7 with a remainder of 11.
Record the quotient 7 as the next digit in the result. 
Result so far: 103840.3127
If we take 2149 away from 2160, we end up with 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 13:
110 divided by 307 is 0 with a remainder of 110.
Record the quotient 0 as the next digit in the result. 
Result so far: 103840.3127
The remainder is 110 after subtracting 0 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1100, and continue the process.

On to step 14:
307 can be fit into 1100 3 times, resulting in a remainder of 179.
Put 3 as the next digit of the answer. 
Result so far: 103840.312703
The remainder is 179 after subtracting 921 from 1100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1790, and continue the process.

Moving on to step 15:
307 can be fit into 1790 5 times, resulting in a remainder of 255.
Put 5 as the next digit of the answer. 
Result so far: 103840.3127035
Deduct 1535 from 1790 and we're left with 255.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2550, and continue the process.

Moving on to step 16:
307 can be fit into 2550 8 times, resulting in a remainder of 94.
Record the quotient 8 as the next digit in the result. 
Result so far: 103840.31270358
Subtracting 2456 from 2550 leaves us with 94.
Since there are no more digits in the dividend, we add a zero to the remainder making it 940, and continue the process.

Our division results in 103840.31270358 with a remaining 9.4e-08.