We look at the division of 335231 by 42 
Let's see how many times 42 fits into 335231.

Step 1:
If we divide 3 by 42, we get 0 and a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Fetch the next digit (3) from the dividend, attach it to 3 and continue: 33 / 42

Moving on to step 2:
42 goes into 33 0 times with a remainder of 33.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 33 after subtracting 0 from 33.
Take the next digit (5) from the dividend and append it to 33, then repeat: 335 / 42

Moving on to step 3:
If we divide 335 by 42, we get 7 and a remainder of 41.
Write down 7 as next digit of the result. 
Result so far: 7.0
If we subtract 294 from 335, we get 41.
Fetch the next digit (2) from the dividend, attach it to 41 and continue: 412 / 42

Going ahead to step 4:
42 goes into 412 9 times with a remainder of 34.
Record the quotient 9 as the next digit in the result. 
Result so far: 79.0
The remainder is 34 after subtracting 378 from 412.
Append the next digit (3) from the dividend to 34 and continue with: 343 / 42

Going ahead to step 5:
The number 42 fits into 343 8 times, leaving a remainder of 7.
The number 8 becomes the next digit in our result. 
Result so far: 798.0
Subtract 336 from 343 to get 7.
Fetch the next digit (1) from the dividend, attach it to 7 and continue: 71 / 42

Step 6:
If we divide 71 by 42, we get 1 and a remainder of 29.
Use 1 as the next digit of our solution. 
Result so far: 7981.0
Deduct 42 from 71 and we're left with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Moving on to step 7:
42 can be fit into 290 6 times, resulting in a remainder of 38.
Use 6 as the next digit of our solution. 
Result so far: 7981.6
If we take 252 away from 290, we end up with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Moving on to step 8:
When dividing 380 by 42, we get 9 with a remainder of 2.
The number 9 becomes the next digit in our result. 
Result so far: 7981.69
If we subtract 378 from 380, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 9:
If we divide 20 by 42, we get 0 and a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 7981.69
Subtracting 0 from 20 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 10:
If we divide 200 by 42, we get 4 and a remainder of 32.
Record the quotient 4 as the next digit in the result. 
Result so far: 7981.6904
If we take 168 away from 200, we end up with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Let's proceed to step 11:
42 can be fit into 320 7 times, resulting in a remainder of 26.
Put 7 as the next digit of the answer. 
Result so far: 7981.69047
The remainder is 26 after subtracting 294 from 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Advancing to step 12:
If we divide 260 by 42, we get 6 and a remainder of 8.
Write down 6 as next digit of the result. 
Result so far: 7981.690476
Subtract 252 from 260 to 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.

Advancing to step 13:
80 divided by 42 is 1 with a remainder of 38.
Write down 1 as next digit of the result. 
Result so far: 7981.6904761
Subtracting 42 from 80 leaves us with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

On to step 14:
The number 42 fits into 380 9 times, leaving a remainder of 2.
The number 9 becomes the next digit in our result. 
Result so far: 7981.69047619
If we subtract 378 from 380, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

The final result is 7981.69047619 with a remainder of 2e-09.