We look at the division of 787942 by 12 
Our goal is to divide 787942 by 12.

Let's proceed to step 1:
If we divide 7 by 12, we get 0 and a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 7 leaves us with 7.
Include the next digit (8) from the dividend after 7, then repeat: 78 / 12

Going ahead to step 2:
When dividing 78 by 12, we get 6 with a remainder of 6.
Use 6 as the next digit of our solution. 
Result so far: 6.0
The remainder is 6 after subtracting 72 from 78.
Grab the next digit (7) from the dividend, add it to 6, then carry on: 67 / 12

Let's proceed to step 3:
12 goes into 67 5 times with a remainder of 7.
Use 5 as the next digit of our solution. 
Result so far: 65.0
If we take 60 away from 67, we end up with 7.
Take the next digit (9) from the dividend and append it to 7, then repeat: 79 / 12

On to step 4:
12 goes into 79 6 times with a remainder of 7.
Record the quotient 6 as the next digit in the result. 
Result so far: 656.0
If we take 72 away from 79, we end up with 7.
Take the next digit (4) from the dividend and append it to 7, then repeat: 74 / 12

Step 5:
12 can be fit into 74 6 times, resulting in a remainder of 2.
The next digit of our result is 6. 
Result so far: 6566.0
The remainder is 2 after subtracting 72 from 74.
Bring next digit (2) of the dividend behind the 2 and repeat the process: 22 / 12

Moving on to step 6:
The number 12 fits into 22 1 times, leaving a remainder of 10.
The number 1 becomes the next digit in our result. 
Result so far: 65661.0
Subtract 12 from 22 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 7:
The number 12 fits into 100 8 times, leaving a remainder of 4.
The next digit of our result is 8. 
Result so far: 65661.8
If we take 96 away from 100, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 8:
12 goes into 40 3 times with a remainder of 4.
Use 3 as the next digit of our solution. 
Result so far: 65661.83
If we take 36 away from 40, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 9:
12 can be fit into 40 3 times, resulting in a remainder of 4.
Write down 3 as next digit of the result. 
Result so far: 65661.833
Subtract 36 from 40 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The final outcome is 65661.833, with a leftover of 0.0004.