We look at the division of 87406778 by 965 
Our goal is to divide 87406778 by 965.

Going ahead to step 1:
The number 965 fits into 8 0 times, leaving a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Include the next digit (7) from the dividend after 8, then repeat: 87 / 965

Going ahead to step 2:
965 can be fit into 87 0 times, resulting in a remainder of 87.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 87 to get 87.
Include the next digit (4) from the dividend after 87, then repeat: 874 / 965

Moving on to step 3:
965 goes into 874 0 times with a remainder of 874.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 874, we get 874.
Grab the next digit (0) from the dividend, add it to 874, then carry on: 8740 / 965

Going ahead to step 4:
If we divide 8740 by 965, we get 9 and a remainder of 55.
The next digit of our result is 9. 
Result so far: 9.0
Subtract 8685 from 8740 to get 55.
Include the next digit (6) from the dividend after 55, then repeat: 556 / 965

On to step 5:
If we divide 556 by 965, we get 0 and a remainder of 556.
The next digit of our result is 0. 
Result so far: 90.0
If we subtract 0 from 556, we get 556.
Take the next digit (7) from the dividend and append it to 556, then repeat: 5567 / 965

Let's proceed to step 6:
5567 divided by 965 is 5 with a remainder of 742.
The number 5 becomes the next digit in our result. 
Result so far: 905.0
If we take 4825 away from 5567, we end up with 742.
Fetch the next digit (7) from the dividend, attach it to 742 and continue: 7427 / 965

Moving on to step 7:
965 can be fit into 7427 7 times, resulting in a remainder of 672.
Put 7 as the next digit of the answer. 
Result so far: 9057.0
The remainder is 672 after subtracting 6755 from 7427.
Grab the next digit (8) from the dividend, add it to 672, then carry on: 6728 / 965

Going ahead to step 8:
965 can be fit into 6728 6 times, resulting in a remainder of 938.
Write down 6 as next digit of the result. 
Result so far: 90576.0
Subtract 5790 from 6728 to get 938.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9380, and continue the process.

Step 9:
The number 965 fits into 9380 9 times, leaving a remainder of 695.
Use 9 as the next digit of our solution. 
Result so far: 90576.9
Deduct 8685 from 9380 and we're left with 695.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6950, and continue the process.

Moving on to step 10:
965 goes into 6950 7 times with a remainder of 195.
Record the quotient 7 as the next digit in the result. 
Result so far: 90576.97
If we subtract 6755 from 6950, we get 195.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1950, and continue the process.

Step 11:
The number 965 fits into 1950 2 times, leaving a remainder of 20.
The next digit of our result is 2. 
Result so far: 90576.972
If we subtract 1930 from 1950, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 12:
The number 965 fits into 200 0 times, leaving a remainder of 200.
Write down 0 as next digit of the result. 
Result so far: 90576.972
Deduct 0 from 200 and we're left with 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2000, and continue the process.

Advancing to step 13:
965 goes into 2000 2 times with a remainder of 70.
The next digit of our result is 2. 
Result so far: 90576.97202
Subtract 1930 from 2000 to get 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Moving on to step 14:
700 divided by 965 is 0 with a remainder of 700.
Write down 0 as next digit of the result. 
Result so far: 90576.97202
Subtracting 0 from 700 leaves us with 700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7000, and continue the process.

On to step 15:
965 can be fit into 7000 7 times, resulting in a remainder of 245.
Write down 7 as next digit of the result. 
Result so far: 90576.9720207
If we subtract 6755 from 7000, we get 245.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2450, and continue the process.

On to step 16:
965 can be fit into 2450 2 times, resulting in a remainder of 520.
The next digit of our result is 2. 
Result so far: 90576.97202072
If we take 1930 away from 2450, we end up with 520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5200, and continue the process.

After the division, we end up with 90576.97202072 and a remainder of 5.2e-07.