3980074 divided by 323 
We want to divide 3980074 by 323.

Going ahead to step 1:
The number 323 fits into 3 0 times, leaving 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.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 323

Moving on to step 2:
323 can be fit into 39 0 times, resulting in a remainder of 39.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 39 and we're left with 39.
Grab the next digit (8) from the dividend, add it to 39, then carry on: 398 / 323

Advancing to step 3:
323 goes into 398 1 times with a remainder of 75.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 75 after subtracting 323 from 398.
Fetch the next digit (0) from the dividend, attach it to 75 and continue: 750 / 323

Advancing to step 4:
750 divided by 323 is 2 with a remainder of 104.
Use 2 as the next digit of our solution. 
Result so far: 12.0
Deduct 646 from 750 and we're left with 104.
Fetch the next digit (0) from the dividend, attach it to 104 and continue: 1040 / 323

Moving on to step 5:
1040 divided by 323 is 3 with a remainder of 71.
Write down 3 as next digit of the result. 
Result so far: 123.0
If we subtract 969 from 1040, we get 71.
Fetch the next digit (7) from the dividend, attach it to 71 and continue: 717 / 323

Step 6:
323 goes into 717 2 times with a remainder of 71.
Put 2 as the next digit of the answer. 
Result so far: 1232.0
The remainder is 71 after subtracting 646 from 717.
Fetch the next digit (4) from the dividend, attach it to 71 and continue: 714 / 323

Advancing to step 7:
323 goes into 714 2 times with a remainder of 68.
Use 2 as the next digit of our solution. 
Result so far: 12322.0
Deduct 646 from 714 and we're left with 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Moving on to step 8:
The number 323 fits into 680 2 times, leaving a remainder of 34.
The next digit of our result is 2. 
Result so far: 12322.2
Deduct 646 from 680 and we're left with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Advancing to step 9:
323 goes into 340 1 times with a remainder of 17.
Record the quotient 1 as the next digit in the result. 
Result so far: 12322.21
If we subtract 323 from 340, we get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Going ahead to step 10:
The number 323 fits into 170 0 times, leaving a remainder of 170.
Use 0 as the next digit of our solution. 
Result so far: 12322.21
Subtract 0 from 170 to get 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1700, and continue the process.

Going ahead to step 11:
The number 323 fits into 1700 5 times, leaving a remainder of 85.
The number 5 becomes the next digit in our result. 
Result so far: 12322.2105
If we take 1615 away from 1700, we end up with 85.
Since there are no more digits in the dividend, we add a zero to the remainder making it 850, and continue the process.

Going ahead to step 12:
When dividing 850 by 323, we get 2 with a remainder of 204.
Use 2 as the next digit of our solution. 
Result so far: 12322.21052
The remainder is 204 after subtracting 646 from 850.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2040, and continue the process.

Advancing to step 13:
323 can be fit into 2040 6 times, resulting in a remainder of 102.
The number 6 becomes the next digit in our result. 
Result so far: 12322.210526
Deduct 1938 from 2040 and we're left 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.

Advancing to step 14:
1020 divided by 323 is 3 with a remainder of 51.
Use 3 as the next digit of our solution. 
Result so far: 12322.2105263
Subtracting 969 from 1020 leaves us with 51.
Since there are no more digits in the dividend, we add a zero to the remainder making it 510, and continue the process.

Moving on to step 15:
510 divided by 323 is 1 with a remainder of 187.
Record the quotient 1 as the next digit in the result. 
Result so far: 12322.21052631
If we take 323 away from 510, we end up with 187.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1870, and continue the process.

The final outcome is 12322.21052631, with a leftover of 1.87e-07.