We divide 8007987 by 667
We want to divide 8007987 by 667.

On to step 1:
The number 667 fits into 8 0 times, leaving a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Include the next digit (0) from the dividend after 8, then repeat: 80 / 667

On to step 2:
667 goes into 80 0 times with a remainder of 80.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 80, we end up with 80.
Take the next digit (0) from the dividend and append it to 80, then repeat: 800 / 667

Going ahead to step 3:
667 can be fit into 800 1 times, resulting in a remainder of 133.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 667 from 800 and we're left with 133.
Append the next digit (7) from the dividend to 133 and continue with: 1337 / 667

Going ahead to step 4:
When dividing 1337 by 667, we get 2 with a remainder of 3.
Put 2 as the next digit of the answer. 
Result so far: 12.0
The remainder is 3 after subtracting 1334 from 1337.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 667

Moving on to step 5:
667 goes into 39 0 times with a remainder of 39.
Record the quotient 0 as the next digit in the result. 
Result so far: 120.0
If we subtract 0 from 39, we get 39.
Include the next digit (8) from the dividend after 39, then repeat: 398 / 667

Step 6:
The number 667 fits into 398 0 times, leaving a remainder of 398.
Use 0 as the next digit of our solution. 
Result so far: 1200.0
Subtracting 0 from 398 leaves us with 398.
Grab the next digit (7) from the dividend, add it to 398, then carry on: 3987 / 667

Moving on to step 7:
If we divide 3987 by 667, we get 5 and a remainder of 652.
Record the quotient 5 as the next digit in the result. 
Result so far: 12005.0
If we subtract 3335 from 3987, we get 652.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6520, and continue the process.

Let's proceed to step 8:
667 goes into 6520 9 times with a remainder of 517.
Record the quotient 9 as the next digit in the result. 
Result so far: 12005.9
The remainder is 517 after subtracting 6003 from 6520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5170, and continue the process.

Moving on to step 9:
The number 667 fits into 5170 7 times, leaving a remainder of 501.
Write down 7 as next digit of the result. 
Result so far: 12005.97
Deduct 4669 from 5170 and we're left with 501.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5010, and continue the process.

Advancing to step 10:
667 goes into 5010 7 times with a remainder of 341.
The number 7 becomes the next digit in our result. 
Result so far: 12005.977
The remainder is 341 after subtracting 4669 from 5010.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3410, and continue the process.

Our division results in 12005.977 with a remaining 0.0341.