We divide 940642 by 38
We want to figure out the number of times 940642 can be divided by 38.

Going ahead to step 1:
38 goes into 9 0 times with a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 9 to get 9.
Grab the next digit (4) from the dividend, add it to 9, then carry on: 94 / 38

Going ahead to step 2:
When dividing 94 by 38, we get 2 with a remainder of 18.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we subtract 76 from 94, we get 18.
Bring next digit (0) of the dividend behind the 18 and repeat the process: 180 / 38

Moving on to step 3:
If we divide 180 by 38, we get 4 and a remainder of 28.
Use 4 as the next digit of our solution. 
Result so far: 24.0
Subtracting 152 from 180 leaves us with 28.
Take the next digit (6) from the dividend and append it to 28, then repeat: 286 / 38

Advancing to step 4:
The number 38 fits into 286 7 times, leaving a remainder of 20.
The number 7 becomes the next digit in our result. 
Result so far: 247.0
Deduct 266 from 286 and we're left with 20.
Take the next digit (4) from the dividend and append it to 20, then repeat: 204 / 38

On to step 5:
38 goes into 204 5 times with a remainder of 14.
Record the quotient 5 as the next digit in the result. 
Result so far: 2475.0
If we take 190 away from 204, we end up with 14.
Take the next digit (2) from the dividend and append it to 14, then repeat: 142 / 38

On to step 6:
The number 38 fits into 142 3 times, leaving a remainder of 28.
Write down 3 as next digit of the result. 
Result so far: 24753.0
Subtracting 114 from 142 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 7:
When dividing 280 by 38, we get 7 with a remainder of 14.
Write down 7 as next digit of the result. 
Result so far: 24753.7
The remainder is 14 after subtracting 266 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 8:
When dividing 140 by 38, we get 3 with a remainder of 26.
The next digit of our result is 3. 
Result so far: 24753.73
Deduct 114 from 140 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Step 9:
38 goes into 260 6 times with a remainder of 32.
The number 6 becomes the next digit in our result. 
Result so far: 24753.736
Deduct 228 from 260 and we're left 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.

Step 10:
320 divided by 38 is 8 with a remainder of 16.
Write down 8 as next digit of the result. 
Result so far: 24753.7368
Subtract 304 from 320 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 11:
38 goes into 160 4 times with a remainder of 8.
Record the quotient 4 as the next digit in the result. 
Result so far: 24753.73684
If we take 152 away from 160, 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.

Going ahead to step 12:
38 goes into 80 2 times with a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 24753.736842
Subtracting 76 from 80 leaves us 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.

On to step 13:
If we divide 40 by 38, we get 1 and a remainder of 2.
The number 1 becomes the next digit in our result. 
Result so far: 24753.7368421
If we subtract 38 from 40, 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.

Step 14:
The number 38 fits into 20 0 times, leaving a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 24753.7368421
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.

After the division, we end up with 24753.7368421 and a remainder of 2e-08.