We look at the division of 39295177 by 965 
We're looking to find how many times 965 goes into 39295177.

On to step 1:
If we divide 3 by 965, we get 0 and a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 965

Step 2:
When dividing 39 by 965, we get 0 with a remainder of 39.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 39 after subtracting 0 from 39.
Append the next digit (2) from the dividend to 39 and continue with: 392 / 965

Moving on to step 3:
The number 965 fits into 392 0 times, leaving a remainder of 392.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 392 after subtracting 0 from 392.
Take the next digit (9) from the dividend and append it to 392, then repeat: 3929 / 965

On to step 4:
3929 divided by 965 is 4 with a remainder of 69.
Put 4 as the next digit of the answer. 
Result so far: 4.0
Deduct 3860 from 3929 and we're left with 69.
Append the next digit (5) from the dividend to 69 and continue with: 695 / 965

Advancing to step 5:
When dividing 695 by 965, we get 0 with a remainder of 695.
Write down 0 as next digit of the result. 
Result so far: 40.0
Deduct 0 from 695 and we're left with 695.
Fetch the next digit (1) from the dividend, attach it to 695 and continue: 6951 / 965

Let's proceed to step 6:
965 can be fit into 6951 7 times, resulting in a remainder of 196.
Put 7 as the next digit of the answer. 
Result so far: 407.0
Deduct 6755 from 6951 and we're left with 196.
Take the next digit (7) from the dividend and append it to 196, then repeat: 1967 / 965

On to step 7:
965 can be fit into 1967 2 times, resulting in a remainder of 37.
The number 2 becomes the next digit in our result. 
Result so far: 4072.0
Subtracting 1930 from 1967 leaves us with 37.
Append the next digit (7) from the dividend to 37 and continue with: 377 / 965

On to step 8:
965 goes into 377 0 times with a remainder of 377.
The next digit of our result is 0. 
Result so far: 40720.0
If we take 0 away from 377, we end up with 377.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3770, and continue the process.

Going ahead to step 9:
When dividing 3770 by 965, we get 3 with a remainder of 875.
Put 3 as the next digit of the answer. 
Result so far: 40720.3
If we take 2895 away from 3770, we end up with 875.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8750, and continue the process.

Let's proceed to step 10:
965 can be fit into 8750 9 times, resulting in a remainder of 65.
Use 9 as the next digit of our solution. 
Result so far: 40720.39
If we take 8685 away from 8750, we end up with 65.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

Going ahead to step 11:
When dividing 650 by 965, we get 0 with a remainder of 650.
Put 0 as the next digit of the answer. 
Result so far: 40720.39
If we take 0 away from 650, we end up with 650.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6500, and continue the process.

Let's proceed to step 12:
When dividing 6500 by 965, we get 6 with a remainder of 710.
Record the quotient 6 as the next digit in the result. 
Result so far: 40720.3906
Deduct 5790 from 6500 and we're left with 710.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7100, and continue the process.

Moving on to step 13:
The number 965 fits into 7100 7 times, leaving a remainder of 345.
Put 7 as the next digit of the answer. 
Result so far: 40720.39067
If we take 6755 away from 7100, we end up with 345.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3450, and continue the process.

Moving on to step 14:
When dividing 3450 by 965, we get 3 with a remainder of 555.
Use 3 as the next digit of our solution. 
Result so far: 40720.390673
If we take 2895 away from 3450, we end up with 555.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5550, and continue the process.

Let's proceed to step 15:
5550 divided by 965 is 5 with a remainder of 725.
The next digit of our result is 5. 
Result so far: 40720.3906735
The remainder is 725 after subtracting 4825 from 5550.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7250, and continue the process.

Moving on to step 16:
965 can be fit into 7250 7 times, resulting in a remainder of 495.
The number 7 becomes the next digit in our result. 
Result so far: 40720.39067357
If we subtract 6755 from 7250, we get 495.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4950, and continue the process.

The final result is 40720.39067357 with a remainder of 4.95e-07.