Let's divide 399107 by 99
Let's see how many times 99 fits into 399107.

On to step 1:
If we divide 3 by 99, we get 0 and a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 99

Moving on to step 2:
If we divide 39 by 99, we get 0 and a remainder of 39.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 39 to get 39.
Bring next digit (9) of the dividend behind the 39 and repeat the process: 399 / 99

Moving on to step 3:
99 goes into 399 4 times with a remainder of 3.
The next digit of our result is 4. 
Result so far: 4.0
Subtracting 396 from 399 leaves us with 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 99

Advancing to step 4:
99 goes into 31 0 times with a remainder of 31.
The next digit of our result is 0. 
Result so far: 40.0
Subtract 0 from 31 to get 31.
Fetch the next digit (0) from the dividend, attach it to 31 and continue: 310 / 99

On to step 5:
When dividing 310 by 99, we get 3 with a remainder of 13.
Record the quotient 3 as the next digit in the result. 
Result so far: 403.0
The remainder is 13 after subtracting 297 from 310.
Include the next digit (7) from the dividend after 13, then repeat: 137 / 99

Moving on to step 6:
If we divide 137 by 99, we get 1 and a remainder of 38.
Write down 1 as next digit of the result. 
Result so far: 4031.0
If we subtract 99 from 137, we get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Moving on to step 7:
99 goes into 380 3 times with a remainder of 83.
Write down 3 as next digit of the result. 
Result so far: 4031.3
The remainder is 83 after subtracting 297 from 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 830, and continue the process.

Step 8:
If we divide 830 by 99, we get 8 and a remainder of 38.
Record the quotient 8 as the next digit in the result. 
Result so far: 4031.38
If we take 792 away from 830, we end up with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Step 9:
The number 99 fits into 380 3 times, leaving a remainder of 83.
The next digit of our result is 3. 
Result so far: 4031.383
Subtracting 297 from 380 leaves us with 83.
Since there are no more digits in the dividend, we add a zero to the remainder making it 830, and continue the process.

Moving on to step 10:
99 can be fit into 830 8 times, resulting in a remainder of 38.
Put 8 as the next digit of the answer. 
Result so far: 4031.3838
The remainder is 38 after subtracting 792 from 830.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Let's proceed to step 11:
380 divided by 99 is 3 with a remainder of 83.
The next digit of our result is 3. 
Result so far: 4031.38383
Deduct 297 from 380 and we're left with 83.
Since there are no more digits in the dividend, we add a zero to the remainder making it 830, and continue the process.

Moving on to step 12:
When dividing 830 by 99, we get 8 with a remainder of 38.
Use 8 as the next digit of our solution. 
Result so far: 4031.383838
Subtract 792 from 830 to get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Going ahead to step 13:
99 goes into 380 3 times with a remainder of 83.
Write down 3 as next digit of the result. 
Result so far: 4031.3838383
Subtract 297 from 380 to 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.

Moving on to step 14:
If we divide 830 by 99, we get 8 and a remainder of 38.
The number 8 becomes the next digit in our result. 
Result so far: 4031.38383838
Subtracting 792 from 830 leaves us with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

The final outcome is 4031.38383838, with a leftover of 3.8e-08.