Let's divide 797982 by 22
We want to divide 797982 by 22.

Step 1:
When dividing 7 by 22, we get 0 with a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Fetch the next digit (9) from the dividend, attach it to 7 and continue: 79 / 22

On to step 2:
If we divide 79 by 22, we get 3 and a remainder of 13.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
Deduct 66 from 79 and we're left with 13.
Append the next digit (7) from the dividend to 13 and continue with: 137 / 22

Advancing to step 3:
22 can be fit into 137 6 times, resulting in a remainder of 5.
Put 6 as the next digit of the answer. 
Result so far: 36.0
Subtracting 132 from 137 leaves us with 5.
Take the next digit (9) from the dividend and append it to 5, then repeat: 59 / 22

Let's proceed to step 4:
If we divide 59 by 22, we get 2 and a remainder of 15.
Use 2 as the next digit of our solution. 
Result so far: 362.0
Subtract 44 from 59 to get 15.
Fetch the next digit (8) from the dividend, attach it to 15 and continue: 158 / 22

Let's proceed to step 5:
22 can be fit into 158 7 times, resulting in a remainder of 4.
Use 7 as the next digit of our solution. 
Result so far: 3627.0
Subtract 154 from 158 to get 4.
Append the next digit (2) from the dividend to 4 and continue with: 42 / 22

Step 6:
22 can be fit into 42 1 times, resulting in a remainder of 20.
Write down 1 as next digit of the result. 
Result so far: 36271.0
If we take 22 away from 42, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 7:
When dividing 200 by 22, we get 9 with a remainder of 2.
Record the quotient 9 as the next digit in the result. 
Result so far: 36271.9
The remainder is 2 after subtracting 198 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 8:
If we divide 20 by 22, we get 0 and a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 36271.9
Subtracting 0 from 20 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 9:
The number 22 fits into 200 9 times, leaving a remainder of 2.
Write down 9 as next digit of the result. 
Result so far: 36271.909
Subtract 198 from 200 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 10:
22 goes into 20 0 times with a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 36271.909
Deduct 0 from 20 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 11:
22 can be fit into 200 9 times, resulting in a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 36271.90909
If we subtract 198 from 200, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 12:
22 can be fit into 20 0 times, resulting in a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 36271.90909
If we subtract 0 from 20, 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 13:
The number 22 fits into 200 9 times, leaving a remainder of 2.
Record the quotient 9 as the next digit in the result. 
Result so far: 36271.9090909
If we take 198 away from 200, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 14:
When dividing 20 by 22, we get 0 with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 36271.9090909
Subtract 0 from 20 to 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.

In conclusion, the division gives 36271.9090909 with a balance of 2e-08.