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

Going ahead to step 1:
If we divide 8 by 97, we get 0 and a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Append the next digit (4) from the dividend to 8 and continue with: 84 / 97

Going ahead to step 2:
The number 97 fits into 84 0 times, leaving a remainder of 84.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 84 to get 84.
Grab the next digit (0) from the dividend, add it to 84, then carry on: 840 / 97

Step 3:
When dividing 840 by 97, we get 8 with a remainder of 64.
Use 8 as the next digit of our solution. 
Result so far: 8.0
Subtracting 776 from 840 leaves us with 64.
Append the next digit (6) from the dividend to 64 and continue with: 646 / 97

On to step 4:
646 divided by 97 is 6 with a remainder of 64.
Write down 6 as next digit of the result. 
Result so far: 86.0
Deduct 582 from 646 and we're left with 64.
Bring next digit (6) of the dividend behind the 64 and repeat the process: 646 / 97

Advancing to step 5:
97 goes into 646 6 times with a remainder of 64.
The next digit of our result is 6. 
Result so far: 866.0
Subtracting 582 from 646 leaves us with 64.
Take the next digit (5) from the dividend and append it to 64, then repeat: 645 / 97

Going ahead to step 6:
97 can be fit into 645 6 times, resulting in a remainder of 63.
Write down 6 as next digit of the result. 
Result so far: 8666.0
Subtracting 582 from 645 leaves us with 63.
Since there are no more digits in the dividend, we add a zero to the remainder making it 630, and continue the process.

Let's proceed to step 7:
97 goes into 630 6 times with a remainder of 48.
The next digit of our result is 6. 
Result so far: 8666.6
Subtracting 582 from 630 leaves us with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Advancing to step 8:
The number 97 fits into 480 4 times, leaving a remainder of 92.
Use 4 as the next digit of our solution. 
Result so far: 8666.64
The remainder is 92 after subtracting 388 from 480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 920, and continue the process.

Step 9:
97 goes into 920 9 times with a remainder of 47.
Use 9 as the next digit of our solution. 
Result so far: 8666.649
The remainder is 47 after subtracting 873 from 920.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

Going ahead to step 10:
The number 97 fits into 470 4 times, leaving a remainder of 82.
The next digit of our result is 4. 
Result so far: 8666.6494
If we subtract 388 from 470, we get 82.
Since there are no more digits in the dividend, we add a zero to the remainder making it 820, and continue the process.

Going ahead to step 11:
820 divided by 97 is 8 with a remainder of 44.
Record the quotient 8 as the next digit in the result. 
Result so far: 8666.64948
Deduct 776 from 820 and we're left with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

On to step 12:
If we divide 440 by 97, we get 4 and a remainder of 52.
Write down 4 as next digit of the result. 
Result so far: 8666.649484
Subtracting 388 from 440 leaves us with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

On to step 13:
If we divide 520 by 97, we get 5 and a remainder of 35.
Put 5 as the next digit of the answer. 
Result so far: 8666.6494845
Subtract 485 from 520 to get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Moving on to step 14:
350 divided by 97 is 3 with a remainder of 59.
Record the quotient 3 as the next digit in the result. 
Result so far: 8666.64948453
If we subtract 291 from 350, we get 59.
Since there are no more digits in the dividend, we add a zero to the remainder making it 590, and continue the process.

In conclusion, the division gives 8666.64948453 with a balance of 5.9e-08.