Let's divide 31785427 by 42
We want to divide 31785427 by 42.

Step 1:
When dividing 3 by 42, we get 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 42

On to step 2:
42 can be fit into 31 0 times, resulting in a remainder of 31.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 31 leaves us with 31.
Include the next digit (7) from the dividend after 31, then repeat: 317 / 42

Going ahead to step 3:
If we divide 317 by 42, we get 7 and a remainder of 23.
Put 7 as the next digit of the answer. 
Result so far: 7.0
Subtracting 294 from 317 leaves us with 23.
Fetch the next digit (8) from the dividend, attach it to 23 and continue: 238 / 42

Advancing to step 4:
42 goes into 238 5 times with a remainder of 28.
The next digit of our result is 5. 
Result so far: 75.0
The remainder is 28 after subtracting 210 from 238.
Fetch the next digit (5) from the dividend, attach it to 28 and continue: 285 / 42

On to step 5:
42 goes into 285 6 times with a remainder of 33.
The next digit of our result is 6. 
Result so far: 756.0
Subtract 252 from 285 to get 33.
Take the next digit (4) from the dividend and append it to 33, then repeat: 334 / 42

Let's proceed to step 6:
42 can be fit into 334 7 times, resulting in a remainder of 40.
The number 7 becomes the next digit in our result. 
Result so far: 7567.0
If we subtract 294 from 334, we get 40.
Bring next digit (2) of the dividend behind the 40 and repeat the process: 402 / 42

Step 7:
42 can be fit into 402 9 times, resulting in a remainder of 24.
Use 9 as the next digit of our solution. 
Result so far: 75679.0
Subtract 378 from 402 to get 24.
Include the next digit (7) from the dividend after 24, then repeat: 247 / 42

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

Going ahead to step 9:
The number 42 fits into 370 8 times, leaving a remainder of 34.
The next digit of our result is 8. 
Result so far: 756795.8
If we subtract 336 from 370, 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.

Step 10:
42 goes into 340 8 times with a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 756795.88
If we subtract 336 from 340, we 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 result is 756795.88 with a remainder of 0.004.