Let's divide 12009587 by 299
Let's see how many times 299 fits into 12009587.

On to step 1:
299 can be fit into 1 0 times, resulting in a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Append the next digit (2) from the dividend to 1 and continue with: 12 / 299

Advancing to step 2:
When dividing 12 by 299, we get 0 with a remainder of 12.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 12, we get 12.
Grab the next digit (0) from the dividend, add it to 12, then carry on: 120 / 299

Step 3:
If we divide 120 by 299, we get 0 and a remainder of 120.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 120, we end up with 120.
Fetch the next digit (0) from the dividend, attach it to 120 and continue: 1200 / 299

Step 4:
The number 299 fits into 1200 4 times, leaving a remainder of 4.
Use 4 as the next digit of our solution. 
Result so far: 4.0
Deduct 1196 from 1200 and we're left with 4.
Fetch the next digit (9) from the dividend, attach it to 4 and continue: 49 / 299

Let's proceed to step 5:
If we divide 49 by 299, we get 0 and a remainder of 49.
The next digit of our result is 0. 
Result so far: 40.0
Subtracting 0 from 49 leaves us with 49.
Take the next digit (5) from the dividend and append it to 49, then repeat: 495 / 299

Going ahead to step 6:
When dividing 495 by 299, we get 1 with a remainder of 196.
Use 1 as the next digit of our solution. 
Result so far: 401.0
If we take 299 away from 495, we end up with 196.
Take the next digit (8) from the dividend and append it to 196, then repeat: 1968 / 299

Going ahead to step 7:
If we divide 1968 by 299, we get 6 and a remainder of 174.
Write down 6 as next digit of the result. 
Result so far: 4016.0
Subtracting 1794 from 1968 leaves us with 174.
Take the next digit (7) from the dividend and append it to 174, then repeat: 1747 / 299

Moving on to step 8:
When dividing 1747 by 299, we get 5 with a remainder of 252.
Record the quotient 5 as the next digit in the result. 
Result so far: 40165.0
Subtract 1495 from 1747 to get 252.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2520, and continue the process.

Step 9:
When dividing 2520 by 299, we get 8 with a remainder of 128.
Use 8 as the next digit of our solution. 
Result so far: 40165.8
Subtracting 2392 from 2520 leaves us with 128.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1280, and continue the process.

Going ahead to step 10:
When dividing 1280 by 299, we get 4 with a remainder of 84.
Use 4 as the next digit of our solution. 
Result so far: 40165.84
Deduct 1196 from 1280 and we're left with 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

On to step 11:
If we divide 840 by 299, we get 2 and a remainder of 242.
Use 2 as the next digit of our solution. 
Result so far: 40165.842
If we take 598 away from 840, we end up with 242.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2420, and continue the process.

On to step 12:
2420 divided by 299 is 8 with a remainder of 28.
Use 8 as the next digit of our solution. 
Result so far: 40165.8428
Deduct 2392 from 2420 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 13:
299 can be fit into 280 0 times, resulting in a remainder of 280.
Use 0 as the next digit of our solution. 
Result so far: 40165.8428
If we take 0 away from 280, we end up with 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2800, and continue the process.

Let's proceed to step 14:
299 goes into 2800 9 times with a remainder of 109.
The next digit of our result is 9. 
Result so far: 40165.842809
The remainder is 109 after subtracting 2691 from 2800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1090, and continue the process.

Advancing to step 15:
If we divide 1090 by 299, we get 3 and a remainder of 193.
Use 3 as the next digit of our solution. 
Result so far: 40165.8428093
Subtract 897 from 1090 to get 193.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1930, and continue the process.

Moving on to step 16:
When dividing 1930 by 299, we get 6 with a remainder of 136.
Record the quotient 6 as the next digit in the result. 
Result so far: 40165.84280936
If we subtract 1794 from 1930, we get 136.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1360, and continue the process.

Our division results in 40165.84280936 with a remaining 1.36e-07.