We're dividing 335742 by 12 
We want to figure out the number of times 335742 can be divided by 12.

Moving on to step 1:
3 divided by 12 is 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Append the next digit (3) from the dividend to 3 and continue with: 33 / 12

Moving on to step 2:
When dividing 33 by 12, we get 2 with a remainder of 9.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we take 24 away from 33, we end up with 9.
Append the next digit (5) from the dividend to 9 and continue with: 95 / 12

On to step 3:
The number 12 fits into 95 7 times, leaving a remainder of 11.
Record the quotient 7 as the next digit in the result. 
Result so far: 27.0
Subtract 84 from 95 to get 11.
Append the next digit (7) from the dividend to 11 and continue with: 117 / 12

Going ahead to step 4:
When dividing 117 by 12, we get 9 with a remainder of 9.
Write down 9 as next digit of the result. 
Result so far: 279.0
If we take 108 away from 117, we end up with 9.
Take the next digit (4) from the dividend and append it to 9, then repeat: 94 / 12

Advancing to step 5:
The number 12 fits into 94 7 times, leaving a remainder of 10.
Use 7 as the next digit of our solution. 
Result so far: 2797.0
The remainder is 10 after subtracting 84 from 94.
Append the next digit (2) from the dividend to 10 and continue with: 102 / 12

Moving on to step 6:
12 can be fit into 102 8 times, resulting in a remainder of 6.
Record the quotient 8 as the next digit in the result. 
Result so far: 27978.0
Deduct 96 from 102 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 7:
60 divided by 12 is 5 with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 27978.5
If we subtract 60 from 60, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 8:
The number 12 fits into 0 0 times, leaving a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 27978.5
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 9:
12 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 27978.5
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final result is 27978.5 with a remainder of 0.0.