Let's divide 797957 by 89
We want to divide 797957 by 89.

Let's proceed to step 1:
When dividing 7 by 89, we get 0 with a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 7 leaves us with 7.
Append the next digit (9) from the dividend to 7 and continue with: 79 / 89

On to step 2:
The number 89 fits into 79 0 times, leaving a remainder of 79.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 79, we end up with 79.
Take the next digit (7) from the dividend and append it to 79, then repeat: 797 / 89

Going ahead to step 3:
The number 89 fits into 797 8 times, leaving a remainder of 85.
The next digit of our result is 8. 
Result so far: 8.0
Subtracting 712 from 797 leaves us with 85.
Bring next digit (9) of the dividend behind the 85 and repeat the process: 859 / 89

Advancing to step 4:
89 goes into 859 9 times with a remainder of 58.
Use 9 as the next digit of our solution. 
Result so far: 89.0
The remainder is 58 after subtracting 801 from 859.
Append the next digit (5) from the dividend to 58 and continue with: 585 / 89

Going ahead to step 5:
The number 89 fits into 585 6 times, leaving a remainder of 51.
Put 6 as the next digit of the answer. 
Result so far: 896.0
Subtract 534 from 585 to get 51.
Grab the next digit (7) from the dividend, add it to 51, then carry on: 517 / 89

Moving on to step 6:
517 divided by 89 is 5 with a remainder of 72.
Use 5 as the next digit of our solution. 
Result so far: 8965.0
Subtract 445 from 517 to get 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Moving on to step 7:
The number 89 fits into 720 8 times, leaving a remainder of 8.
Record the quotient 8 as the next digit in the result. 
Result so far: 8965.8
Subtract 712 from 720 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 8:
89 can be fit into 80 0 times, resulting in a remainder of 80.
Write down 0 as next digit of the result. 
Result so far: 8965.8
If we take 0 away from 80, we end up with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Going ahead to step 9:
89 can be fit into 800 8 times, resulting in a remainder of 88.
Put 8 as the next digit of the answer. 
Result so far: 8965.808
Deduct 712 from 800 and we're left with 88.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

Going ahead to step 10:
880 divided by 89 is 9 with a remainder of 79.
Put 9 as the next digit of the answer. 
Result so far: 8965.8089
Deduct 801 from 880 and we're left with 79.
Since there are no more digits in the dividend, we add a zero to the remainder making it 790, and continue the process.

On to step 11:
If we divide 790 by 89, we get 8 and a remainder of 78.
Record the quotient 8 as the next digit in the result. 
Result so far: 8965.80898
Subtract 712 from 790 to get 78.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Step 12:
780 divided by 89 is 8 with a remainder of 68.
The number 8 becomes the next digit in our result. 
Result so far: 8965.808988
Subtract 712 from 780 to get 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

After the division, we end up with 8965.808988 and a remainder of 6.8e-06.