12874187 ÷ 704 
Let's see how many times 704 fits into 12874187.

Moving on to step 1:
The number 704 fits into 1 0 times, leaving a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Bring next digit (2) of the dividend behind the 1 and repeat the process: 12 / 704

Going ahead to step 2:
704 goes into 12 0 times with a remainder of 12.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 12, we end up with 12.
Include the next digit (8) from the dividend after 12, then repeat: 128 / 704

On to step 3:
704 goes into 128 0 times with a remainder of 128.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 128 and we're left with 128.
Fetch the next digit (7) from the dividend, attach it to 128 and continue: 1287 / 704

Let's proceed to step 4:
704 can be fit into 1287 1 times, resulting in a remainder of 583.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtracting 704 from 1287 leaves us with 583.
Append the next digit (4) from the dividend to 583 and continue with: 5834 / 704

Going ahead to step 5:
When dividing 5834 by 704, we get 8 with a remainder of 202.
Record the quotient 8 as the next digit in the result. 
Result so far: 18.0
If we take 5632 away from 5834, we end up with 202.
Take the next digit (1) from the dividend and append it to 202, then repeat: 2021 / 704

Moving on to step 6:
704 can be fit into 2021 2 times, resulting in a remainder of 613.
Put 2 as the next digit of the answer. 
Result so far: 182.0
Subtract 1408 from 2021 to get 613.
Include the next digit (8) from the dividend after 613, then repeat: 6138 / 704

Advancing to step 7:
If we divide 6138 by 704, we get 8 and a remainder of 506.
Use 8 as the next digit of our solution. 
Result so far: 1828.0
If we subtract 5632 from 6138, we get 506.
Grab the next digit (7) from the dividend, add it to 506, then carry on: 5067 / 704

On to step 8:
704 can be fit into 5067 7 times, resulting in a remainder of 139.
Record the quotient 7 as the next digit in the result. 
Result so far: 18287.0
If we take 4928 away from 5067, we end up with 139.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1390, and continue the process.

Moving on to step 9:
When dividing 1390 by 704, we get 1 with a remainder of 686.
Write down 1 as next digit of the result. 
Result so far: 18287.1
The remainder is 686 after subtracting 704 from 1390.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6860, and continue the process.

Moving on to step 10:
If we divide 6860 by 704, we get 9 and a remainder of 524.
Record the quotient 9 as the next digit in the result. 
Result so far: 18287.19
Subtracting 6336 from 6860 leaves us with 524.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5240, and continue the process.

Moving on to step 11:
If we divide 5240 by 704, we get 7 and a remainder of 312.
The number 7 becomes the next digit in our result. 
Result so far: 18287.197
Deduct 4928 from 5240 and we're left with 312.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3120, and continue the process.

Step 12:
3120 divided by 704 is 4 with a remainder of 304.
The next digit of our result is 4. 
Result so far: 18287.1974
If we take 2816 away from 3120, we end up with 304.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3040, and continue the process.

Advancing to step 13:
704 can be fit into 3040 4 times, resulting in a remainder of 224.
Record the quotient 4 as the next digit in the result. 
Result so far: 18287.19744
The remainder is 224 after subtracting 2816 from 3040.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2240, and continue the process.

The final outcome is 18287.19744, with a leftover of 0.000224.