Let's divide 264157 by 42
We're looking to find how many times 42 goes into 264157.

Going ahead to step 1:
When dividing 2 by 42, we get 0 with a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Include the next digit (6) from the dividend after 2, then repeat: 26 / 42

Let's proceed to step 2:
42 can be fit into 26 0 times, resulting in a remainder of 26.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 26, we get 26.
Take the next digit (4) from the dividend and append it to 26, then repeat: 264 / 42

On to step 3:
264 divided by 42 is 6 with a remainder of 12.
Use 6 as the next digit of our solution. 
Result so far: 6.0
If we take 252 away from 264, we end up with 12.
Bring next digit (1) of the dividend behind the 12 and repeat the process: 121 / 42

On to step 4:
42 goes into 121 2 times with a remainder of 37.
Use 2 as the next digit of our solution. 
Result so far: 62.0
Subtract 84 from 121 to get 37.
Fetch the next digit (5) from the dividend, attach it to 37 and continue: 375 / 42

Let's proceed to step 5:
42 can be fit into 375 8 times, resulting in a remainder of 39.
Record the quotient 8 as the next digit in the result. 
Result so far: 628.0
The remainder is 39 after subtracting 336 from 375.
Take the next digit (7) from the dividend and append it to 39, then repeat: 397 / 42

Going ahead to step 6:
42 can be fit into 397 9 times, resulting in a remainder of 19.
Put 9 as the next digit of the answer. 
Result so far: 6289.0
Deduct 378 from 397 and we're left with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Step 7:
If we divide 190 by 42, we get 4 and a remainder of 22.
Put 4 as the next digit of the answer. 
Result so far: 6289.4
The remainder is 22 after subtracting 168 from 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Moving on to step 8:
42 goes into 220 5 times with a remainder of 10.
Put 5 as the next digit of the answer. 
Result so far: 6289.45
Subtract 210 from 220 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.

Moving on to step 9:
100 divided by 42 is 2 with a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 6289.452
Subtracting 84 from 100 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 10:
When dividing 160 by 42, we get 3 with a remainder of 34.
The number 3 becomes the next digit in our result. 
Result so far: 6289.4523
If we subtract 126 from 160, we get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Moving on to step 11:
42 can be fit into 340 8 times, resulting in a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 6289.45238
Deduct 336 from 340 and we're left 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.

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

Step 13:
The number 42 fits into 400 9 times, leaving a remainder of 22.
The number 9 becomes the next digit in our result. 
Result so far: 6289.4523809
If we subtract 378 from 400, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Step 14:
When dividing 220 by 42, we get 5 with a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 6289.45238095
Deduct 210 from 220 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Our division results in 6289.45238095 with a remaining 1e-08.