We look at the division of 334778 by 12 
We're looking to find how many times 12 goes into 334778.

Step 1:
If we divide 3 by 12, we get 0 and a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Take the next digit (3) from the dividend and append it to 3, then repeat: 33 / 12

Going ahead to step 2:
When dividing 33 by 12, we get 2 with a remainder of 9.
The next digit of our result is 2. 
Result so far: 2.0
Subtracting 24 from 33 leaves us with 9.
Fetch the next digit (4) from the dividend, attach it to 9 and continue: 94 / 12

Moving on to step 3:
12 can be fit into 94 7 times, resulting in a remainder of 10.
Use 7 as the next digit of our solution. 
Result so far: 27.0
Subtracting 84 from 94 leaves us with 10.
Fetch the next digit (7) from the dividend, attach it to 10 and continue: 107 / 12

Let's proceed to step 4:
107 divided by 12 is 8 with a remainder of 11.
Use 8 as the next digit of our solution. 
Result so far: 278.0
If we subtract 96 from 107, we get 11.
Fetch the next digit (7) from the dividend, attach it to 11 and continue: 117 / 12

Step 5:
12 goes into 117 9 times with a remainder of 9.
The number 9 becomes the next digit in our result. 
Result so far: 2789.0
If we subtract 108 from 117, we get 9.
Append the next digit (8) from the dividend to 9 and continue with: 98 / 12

Advancing to step 6:
12 can be fit into 98 8 times, resulting in a remainder of 2.
Write down 8 as next digit of the result. 
Result so far: 27898.0
Deduct 96 from 98 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 7:
20 divided by 12 is 1 with a remainder of 8.
Use 1 as the next digit of our solution. 
Result so far: 27898.1
If we take 12 away from 20, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 8:
12 goes into 80 6 times with a remainder of 8.
Record the quotient 6 as the next digit in the result. 
Result so far: 27898.16
The remainder is 8 after subtracting 72 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 9:
When dividing 80 by 12, we get 6 with a remainder of 8.
Write down 6 as next digit of the result. 
Result so far: 27898.166
If we subtract 72 from 80, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Our division results in 27898.166 with a remaining 0.0008.