We're dividing 287987 by 42 
We want to divide 287987 by 42.

Step 1:
The number 42 fits into 2 0 times, leaving a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 2 leaves us with 2.
Fetch the next digit (8) from the dividend, attach it to 2 and continue: 28 / 42

On to step 2:
When dividing 28 by 42, we get 0 with a remainder of 28.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 28 and we're left with 28.
Grab the next digit (7) from the dividend, add it to 28, then carry on: 287 / 42

Moving on to step 3:
42 goes into 287 6 times with a remainder of 35.
Write down 6 as next digit of the result. 
Result so far: 6.0
The remainder is 35 after subtracting 252 from 287.
Append the next digit (9) from the dividend to 35 and continue with: 359 / 42

Going ahead to step 4:
359 divided by 42 is 8 with a remainder of 23.
Record the quotient 8 as the next digit in the result. 
Result so far: 68.0
Subtract 336 from 359 to get 23.
Include the next digit (8) from the dividend after 23, then repeat: 238 / 42

Step 5:
When dividing 238 by 42, we get 5 with a remainder of 28.
Record the quotient 5 as the next digit in the result. 
Result so far: 685.0
The remainder is 28 after subtracting 210 from 238.
Include the next digit (7) from the dividend after 28, then repeat: 287 / 42

On to step 6:
287 divided by 42 is 6 with a remainder of 35.
The next digit of our result is 6. 
Result so far: 6856.0
The remainder is 35 after subtracting 252 from 287.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Moving on to step 7:
42 can be fit into 350 8 times, resulting in a remainder of 14.
The number 8 becomes the next digit in our result. 
Result so far: 6856.8
If we subtract 336 from 350, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 8:
42 goes into 140 3 times with a remainder of 14.
Write down 3 as next digit of the result. 
Result so far: 6856.83
Deduct 126 from 140 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 9:
42 goes into 140 3 times with a remainder of 14.
The next digit of our result is 3. 
Result so far: 6856.833
Subtract 126 from 140 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

The final outcome is 6856.833, with a leftover of 0.0014.