We look at the division of 87140564 by 965 
Let's see how many times 965 fits into 87140564.

Advancing to step 1:
If we divide 8 by 965, we get 0 and a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Fetch the next digit (7) from the dividend, attach it to 8 and continue: 87 / 965

Advancing to step 2:
87 divided by 965 is 0 with a remainder of 87.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 87 and we're left with 87.
Include the next digit (1) from the dividend after 87, then repeat: 871 / 965

On to step 3:
965 can be fit into 871 0 times, resulting in a remainder of 871.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 871 to get 871.
Bring next digit (4) of the dividend behind the 871 and repeat the process: 8714 / 965

Advancing to step 4:
The number 965 fits into 8714 9 times, leaving a remainder of 29.
Record the quotient 9 as the next digit in the result. 
Result so far: 9.0
Deduct 8685 from 8714 and we're left with 29.
Append the next digit (0) from the dividend to 29 and continue with: 290 / 965

Advancing to step 5:
965 goes into 290 0 times with a remainder of 290.
Record the quotient 0 as the next digit in the result. 
Result so far: 90.0
If we subtract 0 from 290, we get 290.
Append the next digit (5) from the dividend to 290 and continue with: 2905 / 965

Step 6:
965 can be fit into 2905 3 times, resulting in a remainder of 10.
Put 3 as the next digit of the answer. 
Result so far: 903.0
If we subtract 2895 from 2905, we get 10.
Take the next digit (6) from the dividend and append it to 10, then repeat: 106 / 965

Moving on to step 7:
106 divided by 965 is 0 with a remainder of 106.
Write down 0 as next digit of the result. 
Result so far: 9030.0
If we subtract 0 from 106, we get 106.
Append the next digit (4) from the dividend to 106 and continue with: 1064 / 965

Let's proceed to step 8:
The number 965 fits into 1064 1 times, leaving a remainder of 99.
Use 1 as the next digit of our solution. 
Result so far: 90301.0
If we subtract 965 from 1064, we get 99.
Since there are no more digits in the dividend, we add a zero to the remainder making it 990, and continue the process.

Advancing to step 9:
965 can be fit into 990 1 times, resulting in a remainder of 25.
The next digit of our result is 1. 
Result so far: 90301.1
The remainder is 25 after subtracting 965 from 990.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Moving on to step 10:
The number 965 fits into 250 0 times, leaving a remainder of 250.
The next digit of our result is 0. 
Result so far: 90301.1
Subtract 0 from 250 to get 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2500, and continue the process.

On to step 11:
The number 965 fits into 2500 2 times, leaving a remainder of 570.
Record the quotient 2 as the next digit in the result. 
Result so far: 90301.102
Deduct 1930 from 2500 and we're left with 570.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5700, and continue the process.

Going ahead to step 12:
If we divide 5700 by 965, we get 5 and a remainder of 875.
Write down 5 as next digit of the result. 
Result so far: 90301.1025
If we subtract 4825 from 5700, we get 875.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8750, and continue the process.

Step 13:
965 goes into 8750 9 times with a remainder of 65.
The next digit of our result is 9. 
Result so far: 90301.10259
If we subtract 8685 from 8750, we get 65.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

On to step 14:
965 can be fit into 650 0 times, resulting in a remainder of 650.
Record the quotient 0 as the next digit in the result. 
Result so far: 90301.10259
The remainder is 650 after subtracting 0 from 650.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6500, and continue the process.

Going ahead to step 15:
965 can be fit into 6500 6 times, resulting in a remainder of 710.
The number 6 becomes the next digit in our result. 
Result so far: 90301.1025906
The remainder is 710 after subtracting 5790 from 6500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7100, and continue the process.

Step 16:
If we divide 7100 by 965, we get 7 and a remainder of 345.
The number 7 becomes the next digit in our result. 
Result so far: 90301.10259067
The remainder is 345 after subtracting 6755 from 7100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3450, and continue the process.

The quotient of the division is 90301.10259067, and the remainder is 3.45e-07.