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

On to step 1:
When dividing 3 by 965, we get 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Include the next digit (8) from the dividend after 3, then repeat: 38 / 965

Let's proceed to step 2:
When dividing 38 by 965, we get 0 with a remainder of 38.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 38 after subtracting 0 from 38.
Grab the next digit (9) from the dividend, add it to 38, then carry on: 389 / 965

Moving on to step 3:
965 can be fit into 389 0 times, resulting in a remainder of 389.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 389, we get 389.
Take the next digit (4) from the dividend and append it to 389, then repeat: 3894 / 965

Going ahead to step 4:
The number 965 fits into 3894 4 times, leaving a remainder of 34.
Use 4 as the next digit of our solution. 
Result so far: 4.0
If we subtract 3860 from 3894, we get 34.
Take the next digit (2) from the dividend and append it to 34, then repeat: 342 / 965

On to step 5:
965 goes into 342 0 times with a remainder of 342.
The number 0 becomes the next digit in our result. 
Result so far: 40.0
Subtracting 0 from 342 leaves us with 342.
Include the next digit (7) from the dividend after 342, then repeat: 3427 / 965

Advancing to step 6:
When dividing 3427 by 965, we get 3 with a remainder of 532.
The number 3 becomes the next digit in our result. 
Result so far: 403.0
If we subtract 2895 from 3427, we get 532.
Grab the next digit (7) from the dividend, add it to 532, then carry on: 5327 / 965

Step 7:
If we divide 5327 by 965, we get 5 and a remainder of 502.
Use 5 as the next digit of our solution. 
Result so far: 4035.0
Subtracting 4825 from 5327 leaves us with 502.
Include the next digit (4) from the dividend after 502, then repeat: 5024 / 965

Advancing to step 8:
The number 965 fits into 5024 5 times, leaving a remainder of 199.
Write down 5 as next digit of the result. 
Result so far: 40355.0
Subtracting 4825 from 5024 leaves us with 199.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1990, and continue the process.

Moving on to step 9:
965 can be fit into 1990 2 times, resulting in a remainder of 60.
Write down 2 as next digit of the result. 
Result so far: 40355.2
Subtract 1930 from 1990 to get 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Let's proceed to step 10:
If we divide 600 by 965, we get 0 and a remainder of 600.
Use 0 as the next digit of our solution. 
Result so far: 40355.2
Subtracting 0 from 600 leaves us with 600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6000, and continue the process.

Going ahead to step 11:
The number 965 fits into 6000 6 times, leaving a remainder of 210.
Write down 6 as next digit of the result. 
Result so far: 40355.206
Subtracting 5790 from 6000 leaves us with 210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2100, and continue the process.

Let's proceed to step 12:
The number 965 fits into 2100 2 times, leaving a remainder of 170.
The next digit of our result is 2. 
Result so far: 40355.2062
If we subtract 1930 from 2100, we get 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1700, and continue the process.

Let's proceed to step 13:
965 goes into 1700 1 times with a remainder of 735.
The next digit of our result is 1. 
Result so far: 40355.20621
The remainder is 735 after subtracting 965 from 1700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7350, and continue the process.

Moving on to step 14:
If we divide 7350 by 965, we get 7 and a remainder of 595.
Use 7 as the next digit of our solution. 
Result so far: 40355.206217
The remainder is 595 after subtracting 6755 from 7350.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5950, and continue the process.

Going ahead to step 15:
5950 divided by 965 is 6 with a remainder of 160.
Record the quotient 6 as the next digit in the result. 
Result so far: 40355.2062176
Subtracting 5790 from 5950 leaves us with 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1600, and continue the process.

Going ahead to step 16:
965 can be fit into 1600 1 times, resulting in a remainder of 635.
Use 1 as the next digit of our solution. 
Result so far: 40355.20621761
If we subtract 965 from 1600, we get 635.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6350, and continue the process.

The quotient of the division is 40355.20621761, and the remainder is 6.35e-07.